Commit 6c9958ed63d6

Vincent Demeester <vincent@sbr.pm>
2025-11-06 11:33:59
systems/rhea: fix wireguard service
And remove duplicated openssh setup. Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 265bbfa
Changed files (1)
systems
systems/rhea/extra.nix
@@ -8,17 +8,13 @@
 {
   users.users.vincent.linger = true;
 
-  wireguard = {
-    enable = true;
-    ips = libx.wg-ips globals.machines.rhea.net.vpn.ips;
-    endpoint = "${globals.net.vpn.endpoint}";
-    endpointPublicKey = "${globals.machines.kerkouane.net.vpn.pubkey}";
-  };
-
-  services.openssh.enable = true;
-  services.openssh.settings = {
-    PermitRootLogin = "yes";
-    PasswordAuthentication = true;
+  services = {
+    wireguard = {
+      enable = true;
+      ips = libx.wg-ips globals.machines.rhea.net.vpn.ips;
+      endpoint = "${globals.net.vpn.endpoint}";
+      endpointPublicKey = "${globals.machines.kerkouane.net.vpn.pubkey}";
+    };
   };
 
   networking.useDHCP = lib.mkDefault true;