From 5f79252dd633985052a14f7b117223b7e17732d5 Mon Sep 17 00:00:00 2001 From: niten Date: Wed, 13 Oct 2021 22:04:49 -0700 Subject: [PATCH] Secrets don't seem to work? --- 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 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 ]; }; };