Oops, made the wrong map a concatMap.

This commit is contained in:
niten 2021-10-13 10:01:14 -07:00
parent 46469b739f
commit eae9e15c15
1 changed files with 2 additions and 2 deletions

View File

@ -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;