NixOS to be precise, you can view my exact config
with bringing capabilities to the physical world.
By default my laptop has its WiFi-chip turned off and a blocklist of distracting websites.
I can restore my internet connection by either plugging in Ethernet
Itself a physical manifestation of a capability
or a special USB stick whose ID I’ve hardcoded.
Another USB stick also undoes my blocklist.
I’ll write an explanation for how at some point, in short: udev, rfkill and iptables
This has helped me cut down on (among other things) a news addiction.
Imagined ideal system
In some imaginary future world I foresee it being easy and useful to do stuff like this. Let me just quickly jot down a list of possibilities. Internet:- Unrestricted
- Blocklist of distracting domains
- Limited speed (3G, or even 56k dialup)
- Allow-list of domains (and ports?)
- Offline
- Unrestricted
- Application-specific transparency
- Black & white
- Unrestricted
- Blocklist/allowlist of outputsBuiltin speakers, headphone jack, bluetooth and usb. Did I miss any?
- Turned off
- USB devices, the presence of specific devices could be used to allow/disallow any of the above “outputs”. Arbitrary USB devices could thus function like physical keys.
- Power, charging generally signifies I’m at a desk, we might permit more. Discharging could mean that I’m at a less formal place like a couch.
- Location (GPS? WiFi network?), maybe we’d like to prevent access to personal files while at work. Or only allow access to a specific game while at a friends house.
- Time, perhaps no more access to work emails after 17:30?