fix ssh indentation for multiline ssh configs

This commit is contained in:
Sean Buckley 2023-12-04 11:10:11 -05:00
parent 7041c7a74c
commit 8e546b424a

View file

@ -18,8 +18,8 @@ builtins.toFile "ssh-config" (
lib.concatMapStrings lib.concatMapStrings
(host: '' (host: ''
Host ${host} Host ${host}
UserKnownHostsFile ${sshKnownHostsTxt} UserKnownHostsFile ${sshKnownHostsTxt}
${attrsToLines nixosConfigurations.${host}.config.deploy.ssh} ${attrsToLines nixosConfigurations.${host}.config.deploy.ssh}
'') '')
(builtins.attrNames nixosConfigurations) (builtins.attrNames nixosConfigurations)
) )