summaryrefslogtreecommitdiff
path: root/machines
diff options
context:
space:
mode:
authorMel <mel@rnrd.eu>2025-10-03 18:00:00 +0200
committerMel <mel@rnrd.eu>2025-10-03 18:00:00 +0200
commitaa78838cbe0121e13966b4e034386a186f2963cc (patch)
treeac03d971acb6ceabc7a0e8666778b24f3a56282d /machines
parentdd78a149303b96857aa74bbfd359dec322f63794 (diff)
downloadnetwork-aa78838cbe0121e13966b4e034386a186f2963cc.tar.zst
network-aa78838cbe0121e13966b4e034386a186f2963cc.zip
Add VPN configuration to taureau
Signed-off-by: Mel <mel@rnrd.eu>
Diffstat (limited to 'machines')
-rw-r--r--machines/taureau/default.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/machines/taureau/default.nix b/machines/taureau/default.nix
index 8c6b092..ae64740 100644
--- a/machines/taureau/default.nix
+++ b/machines/taureau/default.nix
@@ -23,6 +23,28 @@
"tailnet"
];
};
+
+ wireguard.server = {
+ enable = true;
+ externalInterface = "enp6s16";
+
+ peers = {
+ mel = {
+ key = "vnZoHXapCLLUhZ8A8R5W0iJ8LpWVLve29z41kkoT0BU=";
+ ip = 2;
+ };
+
+ andrei = {
+ key = "qqU4uYImLfUohIwl4KBshPtTINFcs0JVALjbmwpfxRg=";
+ ip = 3;
+ };
+
+ sergo = {
+ key = "qbZGMNIDZFCJC6SHtlyNIlIdGWHELceXClJCcagrj2Y=";
+ ip = 4;
+ };
+ };
+ };
};
system.stateVersion = "25.05";