Yann Büchau :python: on Nostr: How does one specify the private host ssh key with :nixos: #NixOS? - putting in nix ...
How does one specify the private host ssh key with
#NixOS?
- putting in nix store is no-go (publicly readable for all users)
- agenix (and sops-nix?) has a bootstrapping problem: It itself needs the secret ssh host key to decrypt all the secrets.
So how does one then bring up a VM or a new fresh installation? How to specify the user passwordfiles then? This was a major roadbump during my last NixOS install on my laptop.

- putting in nix store is no-go (publicly readable for all users)
- agenix (and sops-nix?) has a bootstrapping problem: It itself needs the secret ssh host key to decrypt all the secrets.
So how does one then bring up a VM or a new fresh installation? How to specify the user passwordfiles then? This was a major roadbump during my last NixOS install on my laptop.