summary refs log tree commit diff
path: root/machines/zibeline/default.nix
diff options
context:
space:
mode:
authorMel <mel@rnrd.eu>2025-08-27 13:14:42 +0200
committerMel <mel@rnrd.eu>2025-08-27 13:14:42 +0200
commit8a901c24b029719cc8d3ff355f95bceb1dc93b60 (patch)
tree0011d01f53a4e03dd571063608148cd899a26e8c /machines/zibeline/default.nix
parent8df556f5552ed05715514c5b61a7226b1f176591 (diff)
downloadnetwork-8a901c24b029719cc8d3ff355f95bceb1dc93b60.tar.zst
network-8a901c24b029719cc8d3ff355f95bceb1dc93b60.zip
Move WireGuard server peer definitions to configuration option
Signed-off-by: Mel <mel@rnrd.eu>
Diffstat (limited to 'machines/zibeline/default.nix')
-rw-r--r--machines/zibeline/default.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/machines/zibeline/default.nix b/machines/zibeline/default.nix
index 82e93bd..9670da2 100644
--- a/machines/zibeline/default.nix
+++ b/machines/zibeline/default.nix
@@ -27,6 +27,23 @@
     wireguard.server = {
       enable = true;
       externalInterface = "eth0";
+
+      peers = {
+        mel = {
+          key = "vnZoHXapCLLUhZ8A8R5W0iJ8LpWVLve29z41kkoT0BU=";
+          ip = 2;
+        };
+
+        andrei = {
+          key = "qqU4uYImLfUohIwl4KBshPtTINFcs0JVALjbmwpfxRg=";
+          ip = 3;
+        };
+
+        sergo = {
+          key = "qbZGMNIDZFCJC6SHtlyNIlIdGWHELceXClJCcagrj2Y=";
+          ip = 4;
+        };
+      };
     };
   };