Ahh fuck this wtf

This commit is contained in:
niten 2021-10-15 10:58:47 -07:00
parent 095876e12d
commit 0330f6ae78
1 changed files with 1 additions and 3 deletions

View File

@ -69,14 +69,12 @@ in {
fudo = { fudo = {
secrets.host-secrets = mapAttrs secrets.host-secrets = mapAttrs
(hostname: key-pkg: let (hostname: key-pkg: {
initrd-ssh-host-key = { initrd-ssh-host-key = {
source-file = "${key-pkg}/${key-filename}"; source-file = "${key-pkg}/${key-filename}";
target-file = "/var/run/ssh/${key-filename}"; target-file = "/var/run/ssh/${key-filename}";
user = "root"; user = "root";
}; };
in {
initrd-ssh-host-key = builtins.trace "${hostname}: ${initrd-ssh-host-key}" initrd-ssh-host-key;
}) })
host-keys; host-keys;