diff options
Diffstat (limited to 'hosts')
-rw-r--r-- | hosts/eostre/default.nix | 11 | ||||
-rw-r--r-- | hosts/sif/default.nix | 8 | ||||
-rw-r--r-- | hosts/surtr/default.nix | 2 | ||||
-rw-r--r-- | hosts/vidhar/default.nix | 4 |
4 files changed, 17 insertions, 8 deletions
diff --git a/hosts/eostre/default.nix b/hosts/eostre/default.nix index 01dee9ae..2752d136 100644 --- a/hosts/eostre/default.nix +++ b/hosts/eostre/default.nix | |||
@@ -4,7 +4,7 @@ with lib; | |||
4 | 4 | ||
5 | { | 5 | { |
6 | imports = with flake.nixosModules.systemProfiles; [ | 6 | imports = with flake.nixosModules.systemProfiles; [ |
7 | default-locale nfsroot | 7 | default-locale nfsroot openssh |
8 | ]; | 8 | ]; |
9 | 9 | ||
10 | config = { | 10 | config = { |
@@ -96,5 +96,14 @@ with lib; | |||
96 | 96 | ||
97 | videoDrivers = [ "nvidia" ]; | 97 | videoDrivers = [ "nvidia" ]; |
98 | }; | 98 | }; |
99 | |||
100 | |||
101 | services.openssh = { | ||
102 | enable = true; | ||
103 | settings = { | ||
104 | PasswordAuthentication = true; | ||
105 | KbdInteractiveAuthentication = true; | ||
106 | }; | ||
107 | }; | ||
99 | }; | 108 | }; |
100 | } | 109 | } |
diff --git a/hosts/sif/default.nix b/hosts/sif/default.nix index 4c405436..ca2f183b 100644 --- a/hosts/sif/default.nix +++ b/hosts/sif/default.nix | |||
@@ -298,7 +298,13 @@ in { | |||
298 | after = ["dnsmasq.service" "sys-subsystem-net-devices-virbr0.device"]; | 298 | after = ["dnsmasq.service" "sys-subsystem-net-devices-virbr0.device"]; |
299 | }; | 299 | }; |
300 | 300 | ||
301 | services.openssh.enable = true; | 301 | services.openssh = { |
302 | enable = true; | ||
303 | settings = { | ||
304 | PasswordAuthentication = true; | ||
305 | KbdInteractiveAuthentication = true; | ||
306 | }; | ||
307 | }; | ||
302 | 308 | ||
303 | powerManagement = { | 309 | powerManagement = { |
304 | enable = true; | 310 | enable = true; |
diff --git a/hosts/surtr/default.nix b/hosts/surtr/default.nix index 75dd9847..6925445b 100644 --- a/hosts/surtr/default.nix +++ b/hosts/surtr/default.nix | |||
@@ -135,8 +135,6 @@ with lib; | |||
135 | 135 | ||
136 | services.openssh = { | 136 | services.openssh = { |
137 | enable = true; | 137 | enable = true; |
138 | passwordAuthentication = false; | ||
139 | kbdInteractiveAuthentication = false; | ||
140 | extraConfig = '' | 138 | extraConfig = '' |
141 | AllowGroups ssh | 139 | AllowGroups ssh |
142 | ''; | 140 | ''; |
diff --git a/hosts/vidhar/default.nix b/hosts/vidhar/default.nix index d064e3da..b0277c14 100644 --- a/hosts/vidhar/default.nix +++ b/hosts/vidhar/default.nix | |||
@@ -82,10 +82,6 @@ with lib; | |||
82 | 82 | ||
83 | services.openssh = { | 83 | services.openssh = { |
84 | enable = true; | 84 | enable = true; |
85 | settings = { | ||
86 | PasswordAuthentication = false; | ||
87 | KbdInteractiveAuthentication = false; | ||
88 | }; | ||
89 | extraConfig = '' | 85 | extraConfig = '' |
90 | AllowGroups ssh | 86 | AllowGroups ssh |
91 | ''; | 87 | ''; |