summary refs log tree commit diff
path: root/machines/taupe
diff options
context:
space:
mode:
Diffstat (limited to 'machines/taupe')
-rw-r--r--machines/taupe/default.nix23
1 files changed, 2 insertions, 21 deletions
diff --git a/machines/taupe/default.nix b/machines/taupe/default.nix
index ef3fc6a..4f60eab 100644
--- a/machines/taupe/default.nix
+++ b/machines/taupe/default.nix
@@ -3,6 +3,7 @@
 {
   imports = [
     ../../modules/common.nix
+    ../../modules/vpn.nix
 
     ./hardware.nix
     ./devices.nix
@@ -23,27 +24,7 @@
       ];
     };
 
-    wireguard.server = {
-      enable = true;
-      externalInterface = "enp1s0";
-
-      peers = {
-        mel = {
-          key = "vnZoHXapCLLUhZ8A8R5W0iJ8LpWVLve29z41kkoT0BU=";
-          ip = 2;
-        };
-
-        andrei = {
-          key = "qqU4uYImLfUohIwl4KBshPtTINFcs0JVALjbmwpfxRg=";
-          ip = 3;
-        };
-
-        sergo = {
-          key = "qbZGMNIDZFCJC6SHtlyNIlIdGWHELceXClJCcagrj2Y=";
-          ip = 4;
-        };
-      };
-    };
+    wireguard.server.externalInterface = "enp1s0";
   };
 
   system.stateVersion = "25.05";