Automatic NixOS upgrades with a CI-managed flake lock and deploy keys

Posted on Sat 28 November 2026 in NixOS • Tagged with nixos, flakes, github-actions, auto-upgrade, deploy-keys

Across my NixOS machines, I wanted flake.lock managed in one place for automatic upgrades. A daily GitHub Action updates the lock, and each host pulls it over SSH with its own read-only deploy key.


Continue reading