parent
997bdb7978
commit
1b1f2d2eca
@ -24,10 +24,23 @@
|
|||||||
] (_: null);
|
] (_: null);
|
||||||
in
|
in
|
||||||
lib.mapAttrs (_name: builtins.intersectAttrs sshAttrs) filtered;
|
lib.mapAttrs (_name: builtins.intersectAttrs sshAttrs) filtered;
|
||||||
extraConfig = ''
|
extraConfig =
|
||||||
Host git.jakstys.lt
|
''
|
||||||
HostName ${myData.hosts."fwminex.servers.jakst".jakstIP}
|
Host git.jakstys.lt
|
||||||
'';
|
HostName ${myData.hosts."fwminex.servers.jakst".jakstIP}
|
||||||
|
|
||||||
|
''
|
||||||
|
+ (lib.concatMapStringsSep "\n"
|
||||||
|
(host: ''
|
||||||
|
Host ${builtins.elemAt (lib.splitString "." host) 0}
|
||||||
|
HostName ${myData.hosts.${host}.jakstIP}
|
||||||
|
'')
|
||||||
|
(
|
||||||
|
builtins.attrNames (
|
||||||
|
lib.filterAttrs (name: props: name != "fra1-b.servers.jakst" && props ? jakstIP) myData.hosts
|
||||||
|
)
|
||||||
|
)
|
||||||
|
);
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user