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