Yann Büchau :nixos: 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.
Published at
2024-12-22 20:37:14Event JSON
{
"id": "b643ff7c2e9459e836ab9352645227d7b977cba907042b2e8506cb673547bf13",
"pubkey": "0abc897a05eca0849f658dc45fb983e46041d357150b09df857131e7a7552848",
"created_at": 1734899834,
"kind": 1,
"tags": [
[
"t",
"nixos"
],
[
"emoji",
"nixos",
"https://cdn.fosstodon.org/custom_emojis/images/000/062/778/original/48d6a1983312ea5a.png"
],
[
"proxy",
"https://fosstodon.org/users/nobodyinperson/statuses/113698395564273651",
"activitypub"
]
],
"content": "How does one specify the private host ssh key with :nixos: #NixOS? \n\n- putting in nix store is no-go (publicly readable for all users)\n- agenix (and sops-nix?) has a bootstrapping problem: It itself needs the secret ssh host key to decrypt all the secrets.\n\nSo 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.",
"sig": "60f863ad6ed91fa0c6797c9c8aaaba4c094b1a42a2890d40b2fb5473119349b53175a50260bac8f4ada935145fd26a4288a47adda19b631ac0b7b7988bcb0a77"
}