From 0ffb502f68f88d94f3316beb46c3d741a2df9c69 Mon Sep 17 00:00:00 2001 From: Felix Albrigtsen Date: Wed, 31 Dec 2025 20:59:58 +0100 Subject: [PATCH] defiant/wireguard: deprecate old peers --- common/wireguard-peers.nix | 6 ------ hosts/defiant/services/wireguard.nix | 12 +----------- 2 files changed, 1 insertion(+), 17 deletions(-) diff --git a/common/wireguard-peers.nix b/common/wireguard-peers.nix index ca937ce..96ae86d 100644 --- a/common/wireguard-peers.nix +++ b/common/wireguard-peers.nix @@ -1,10 +1,4 @@ [ - { # Sulu - publicKey = "j6YVekgGS4nhL5zUiOTeK2BVQkYGlTQaiUpwcqQyfRk="; - allowedIPs = [ - "10.100.0.3/32" - ]; - } { # Worf publicKey = "kW8SyzCh2tw8GzZV6bPn+IQVNUoUhseNfEm3rHnR1So="; allowedIPs = [ diff --git a/hosts/defiant/services/wireguard.nix b/hosts/defiant/services/wireguard.nix index 0690c46..e0886e9 100644 --- a/hosts/defiant/services/wireguard.nix +++ b/hosts/defiant/services/wireguard.nix @@ -22,17 +22,7 @@ in { ${pkgs.iptables}/bin/iptables -t nat -D POSTROUTING -s 10.100.0.0/24 -d 192.168.10.0/24 -o eth0 -j MASQUERADE ''; - peers = [ - { # Burnham - publicKey = "JcfyrMoZmnbibVLaIKuGSARAX2alFv4kwLbJaLBNbzo="; - persistentKeepalive = 60; - allowedIPs = [ - "10.100.0.2/32" - "192.168.11.0/24" - ]; - #endpoint = "site2.feal.no:51902"; - } - ] ++ (import ../../../common/wireguard-peers.nix); + peers = (import ../../../common/wireguard-peers.nix); }; }; }