Let's just verify...

This commit is contained in:
niten 2021-10-15 10:54:09 -07:00
parent ea8d7c9007
commit c3fc069f34

View File

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