mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
fix SSH user
This commit is contained in:
parent
e73172eeaf
commit
7d7b770ab5
1 changed files with 2 additions and 1 deletions
|
@ -25,7 +25,6 @@ let
|
||||||
hostSshConfigs = concatMapStrings
|
hostSshConfigs = concatMapStrings
|
||||||
(hostName: ''
|
(hostName: ''
|
||||||
Host ${hostName}
|
Host ${hostName}
|
||||||
User root
|
|
||||||
HostName ${nixosConfigurations.${hostName}.config.sconfig.morph.deployment.targetHost}
|
HostName ${nixosConfigurations.${hostName}.config.sconfig.morph.deployment.targetHost}
|
||||||
'')
|
'')
|
||||||
(builtins.attrNames nixosConfigurations);
|
(builtins.attrNames nixosConfigurations);
|
||||||
|
@ -34,6 +33,8 @@ let
|
||||||
StrictHostKeyChecking yes
|
StrictHostKeyChecking yes
|
||||||
GlobalKnownHostsFile ${sshKnownHostsTxt}
|
GlobalKnownHostsFile ${sshKnownHostsTxt}
|
||||||
${hostSshConfigs}
|
${hostSshConfigs}
|
||||||
|
Host *
|
||||||
|
User root
|
||||||
'';
|
'';
|
||||||
|
|
||||||
jump = pkgs.writeShellScript "jump" ''
|
jump = pkgs.writeShellScript "jump" ''
|
||||||
|
|
Loading…
Reference in a new issue