From b637a518646ae2147403f01bd9ee250381bd8de0 Mon Sep 17 00:00:00 2001 From: Mel Date: Sat, 4 Oct 2025 00:11:22 +0200 Subject: Factor out common public VPN peers to own module Signed-off-by: Mel --- machines/taureau/default.nix | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) (limited to 'machines/taureau') diff --git a/machines/taureau/default.nix b/machines/taureau/default.nix index ae64740..38172cf 100644 --- a/machines/taureau/default.nix +++ b/machines/taureau/default.nix @@ -3,6 +3,7 @@ { imports = [ ../../modules/common.nix + ../../modules/vpn.nix ./hardware.nix ./devices.nix @@ -24,27 +25,7 @@ ]; }; - wireguard.server = { - enable = true; - externalInterface = "enp6s16"; - - peers = { - mel = { - key = "vnZoHXapCLLUhZ8A8R5W0iJ8LpWVLve29z41kkoT0BU="; - ip = 2; - }; - - andrei = { - key = "qqU4uYImLfUohIwl4KBshPtTINFcs0JVALjbmwpfxRg="; - ip = 3; - }; - - sergo = { - key = "qbZGMNIDZFCJC6SHtlyNIlIdGWHELceXClJCcagrj2Y="; - ip = 4; - }; - }; - }; + wireguard.server.externalInterface = "enp6s16"; }; system.stateVersion = "25.05"; -- cgit 1.4.1