Oops, made the wrong map a concatMap.
This commit is contained in:
parent
46469b739f
commit
eae9e15c15
|
@ -44,8 +44,8 @@ in {
|
|||
host-keypairs);
|
||||
|
||||
hosts = mapAttrs (hostname: keypairs: {
|
||||
ssh-pubkeys = concatMap (keypair: keypair.public-key) keypairs;
|
||||
ssh-fingerprints = map (keypair:
|
||||
ssh-pubkeys = map (keypair: keypair.public-key) keypairs;
|
||||
ssh-fingerprints = flatMap (keypair:
|
||||
let
|
||||
fingerprint-derivation = dns-sshfp-records hostname keypair;
|
||||
filename = sshfp-filename hostname keypair;
|
||||
|
|
Loading…
Reference in New Issue