diff --git a/system/core/ssh.nix b/system/core/ssh.nix index 60d68180..53a765a2 100644 --- a/system/core/ssh.nix +++ b/system/core/ssh.nix @@ -5,6 +5,7 @@ sops.secrets."ssh/nixremote/private" = { sopsFile = ../../secrets/default.yaml; path = "/root/.ssh/nixremote"; + mode = "444"; }; services.openssh = { @@ -19,13 +20,15 @@ programs.ssh = { extraConfig = '' Host lilith-server-builder - HostName 2a01:4f9:4a:1ecb::2 + HostName firelilith.org User nixremote IdentityFile /root/.ssh/nixremote + ConnectTimeout 5 Host lilith-pc-builder - HostName 2a02:8109:8323:4600:1394:b8b6:32d0:f720 + HostName lilith-pc User nixremote IdentityFile /root/.ssh/nixremote + ConnectTimeout 5 ''; }; }