all repos — nixfiles @ f1e5b5c9e66dba560c4a50ade02895ef4a0d6bde

System and user configuration, managed by nix and home-manager

save SSH host aliases for known hosts

Alin
commit

f1e5b5c9e66dba560c4a50ade02895ef4a0d6bde

parent

502879c7cc0197bb6449938fba19b713dd229f28

1 file changed, 7 insertions(+), 2 deletions(-)

changed files
M system/roles/nix-build-client.nix → system/roles/nix-build-client.nix
@@ -10,10 +10,15 @@ machines = lib.filterAttrs (k: _: k != config.networking.hostName) data.machines;
mkKnownHost = name: - { publicKey, domains, ... }: + { + publicKey, + domains, + aliases ? [ ], + ... + }: { inherit publicKey; - extraHostNames = map (domain: "${name}.${domain}") domains; + extraHostNames = (map (domain: "${name}.${domain}") domains) ++ aliases; }; mkBuilder =