From e6252d551a1a645a0681af51ed8ff7ad4726427e Mon Sep 17 00:00:00 2001 From: niten Date: Fri, 15 Oct 2021 10:38:07 -0700 Subject: [PATCH] Fuck a secret then --- lib/fudo/initrd-network.nix | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/lib/fudo/initrd-network.nix b/lib/fudo/initrd-network.nix index 7b72f65..b69c5de 100644 --- a/lib/fudo/initrd-network.nix +++ b/lib/fudo/initrd-network.nix @@ -51,11 +51,6 @@ in { host-key-pkg = host-keys.${config.instance.hostname}; host-privkey = builtins.toPath "${host-key-pkg}/${key-filename}"; in { - secrets = { - "/var/run/initrd/ssh-host-key" = - config.fudo.secrets.host-secrets.${hostname}.initrd-ssh-host-key.target-file; - }; - network = { enable = true; @@ -68,7 +63,7 @@ in { port = 22; authorizedKeys = admin-ssh-keys; hostKeys = [ - "/var/run/initrd/ssh-host-key" + config.fudo.secrets.host-secrets.${hostname}.initrd-ssh-host-key.target-file ]; }; };