@borosilicate@lemmy.dbzer0.com
2026-09-17 14:40 UTC
Nice. I like Nix because it allows me to build custom systemd services that just work. I was able to build a systemd service I call “homebeacon” which tells my laptop whether it’s actually on my home network, cryptographically. A responder on my server signs a challenge with an Ed25519 key; the laptop checks four cheap network signals first, then does the handshake. The signature covers the server’s address so it can’t be relayed from outside.
The verdict raises or lowers a systemd target. NAS mounts arm when home and go inert when away, so the filesystem doesn’t hang. Battery charges to 80% at the desk, 100% travelling.
It doesn’t drive firewall rules, keyring unlock, disk unlock; Nothing a spoofed “home” could turn into access.
Replies (1)
-
@hellmo_luciferrari@lemmy.zip 2026-09-17 15:05
That all sounds pretty cooll! Some of that is outside the scope of what I would need; but would still say quite a cool setup. For anything custom on my setup I have repos on my git server that is easily pulled down when I decide to nuke my systems and start fresh. Which doesn’t happen for years at a time. And even then on my main rig, I have all of my data separated to other disks. And backed up to my NAS if I deem it critical.