Make sure it's really a list of lists

This commit is contained in:
niten 2021-10-15 14:00:44 -07:00
parent 174abdf990
commit bab995346e
1 changed files with 7 additions and 5 deletions

View File

@ -83,11 +83,13 @@ n "ip=${initrd-cfg.ip}"
})
initrd-network-hosts;
extra-records = concatLists (mapAttrsToList
extra-records = let
recs = (mapAttrsToList
(hostname: hostOpts: map
(sshfp: "${hostname} IN SSHFP ${sshfp}")
(gen-sshfp-records hostname hostOpts.initrd-network.keypair.public-key))
initrd-network-hosts);
in concatLists (builtins.trace recs recs);
};
};
};