Commit eb940295e162

Vincent Demeester <vincent@sbr.pm>
2021-09-11 14:43:17
systems/kerkouane: fix openssh service definition
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent c05db6d
Changed files (1)
systems
systems/hosts/kerkouane.nix
@@ -183,12 +183,14 @@ in
         extraConfig = nginxExtraConfig;
       };
     };
-    services.openssh.listenAddresses = [
-      { addr = wireguardIp; port = 22; }
-    ];
-    openssh.openFirewall = false;
-    openssh.passwordAuthentication = false;
-    openssh.permitRootLogin = "without-password";
+    openssh = {
+      listenAddresses = [
+        { addr = wireguardIp; port = 22; }
+      ];
+      openFirewall = false;
+      passwordAuthentication = false;
+      permitRootLogin = "without-password";
+    };
     syncthing.guiAddress = "127.0.0.1:8384";
   };
 }