fix SSH user

This commit is contained in:
Sean Buckley 2021-12-21 10:06:06 -05:00
parent e73172eeaf
commit 7d7b770ab5

View file

@ -25,7 +25,6 @@ let
hostSshConfigs = concatMapStrings
(hostName: ''
Host ${hostName}
User root
HostName ${nixosConfigurations.${hostName}.config.sconfig.morph.deployment.targetHost}
'')
(builtins.attrNames nixosConfigurations);
@ -34,6 +33,8 @@ let
StrictHostKeyChecking yes
GlobalKnownHostsFile ${sshKnownHostsTxt}
${hostSshConfigs}
Host *
User root
'';
jump = pkgs.writeShellScript "jump" ''