Try again

This commit is contained in:
niten 2021-10-15 10:57:04 -07:00
parent c3fc069f34
commit 095876e12d

View File

@ -68,17 +68,17 @@ in {
};
fudo = {
secrets.host-secrets = let
secrets = mapAttrs
(hostname: key-pkg: {
secrets.host-secrets = mapAttrs
(hostname: key-pkg: let
initrd-ssh-host-key = {
source-file = "${key-pkg}/${key-filename}";
target-file = "/var/run/ssh/${key-filename}";
user = "root";
};
in {
initrd-ssh-host-key = builtins.trace "${hostname}: ${initrd-ssh-host-key}" initrd-ssh-host-key;
})
host-keys;
in builtins.trace secrets secrets;
host-keys;
local-network = {
network-definition.hosts = mapAttrs'