diff --git a/lib/fudo/initrd-network.nix b/lib/fudo/initrd-network.nix index 75e80ab..53cceb1 100644 --- a/lib/fudo/initrd-network.nix +++ b/lib/fudo/initrd-network.nix @@ -44,12 +44,7 @@ in { initrd = let host-key-pkg = host-keys.${config.instance.hostname}; host-privkey = "${host-key-pkg}/ssh_host_ed25519_key"; - initrd-keypath = "/var/run/secrets/ssh/ssh_host_ed25519_key"; in { - secrets = { - "${initrd-keypath}" = host-privkey; - }; - network = { enable = true; @@ -62,7 +57,7 @@ in { port = 22; authorizedKeys = admin-ssh-keys; hostKeys = [ - initrd-keypath + host-privkey ]; }; };