diff --git a/lib/gen-ssh-config.nix b/lib/gen-ssh-config.nix index 4a21902..c2164fc 100644 --- a/lib/gen-ssh-config.nix +++ b/lib/gen-ssh-config.nix @@ -14,12 +14,10 @@ let attrsToLines = a: lib.concatLines (attrsToList a); in -builtins.toFile "ssh-config" ( - lib.concatMapStrings - (host: '' - Host ${host} - UserKnownHostsFile ${sshKnownHostsTxt} - ${attrsToLines nixosConfigurations.${host}.config.deploy.ssh} - '') - (builtins.attrNames nixosConfigurations) -) +lib.concatMapStrings + (host: '' + Host ${host} + UserKnownHostsFile ${sshKnownHostsTxt} + ${attrsToLines nixosConfigurations.${host}.config.deploy.ssh} + '') + (builtins.attrNames nixosConfigurations)