Why Nostr? What is Njump?
2025-01-20 20:50:30

nym on Nostr: Encrypted NixOS home server with passwordless reboot These are my notes on ...

Encrypted NixOS home server with passwordless reboot
https://log.pfad.fr/2025/fde-nixos-colmena-passwordless-reboot/

These are my notes on refurbishing a laptop with a broken screen hinge to a NixOS home server. A coworker recommended Colmena for managing NixOS on remote machines, so I decided to give it a try. I got confused by the Colmena manual, which expects NixOS to be already set up on the remote host but doesn't clearly show how to move the existing nix (remote) config inside Colmena.

I use a TPM-backed ssh key which asks for a pin on every connection. To workaround the (documented) limitation of Colmena which requires non-interactive login, I started a ssh connection in "master mode" in another terminal. With this command running in the background, I am now able to run `colmena apply`.

originally posted at https://stacker.news/items/857807
Author Public Key
npub1hn4zhxzsd5w4m5kvq326gqnsrc6zcakhparw8pee4tw7wlxw70ysawhtl5