mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
fix ssh indentation for multiline ssh configs
This commit is contained in:
parent
7041c7a74c
commit
8e546b424a
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue