From 7c00b8bf0b41495ce6ae218073c486c40505c92a Mon Sep 17 00:00:00 2001 From: Giulio De Pasquale Date: Fri, 12 May 2023 14:33:25 +0200 Subject: [PATCH] wireguard: remove devices --- hosts/architect/wireguard.nix | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/hosts/architect/wireguard.nix b/hosts/architect/wireguard.nix index 6a317ce..d85743e 100644 --- a/hosts/architect/wireguard.nix +++ b/hosts/architect/wireguard.nix @@ -22,7 +22,6 @@ in net = "10.3.0.0/24"; devices = { architect = { address = "10.3.0.1"; hostname = "architect.${domain}"; }; - manduria = { address = "10.3.0.5"; hostname = "manduria.${domain}"; }; antonio = { address = "10.3.0.6"; hostname = "antonio.${domain}"; }; gbeast = { address = "10.3.0.7"; hostname = "gbeast.${domain}"; }; shield = { address = "10.3.0.12"; hostname = "shield.${domain}"; }; @@ -31,7 +30,6 @@ in defy = { address = "10.3.0.18"; hostname = "defy.${domain}"; }; germano = { address = "10.3.0.19"; hostname = "germano.${domain}"; }; flavio = { address = "10.3.0.20"; hostname = "flavio.${domain}"; }; - tommy = { address = "10.3.0.21"; hostname = "tommy.${domain}"; }; alain = { address = "10.3.0.22"; hostname = "alain.${domain}"; }; dima = { address = "10.3.0.23"; hostname = "dima.${domain}"; }; mikey = { address = "10.3.0.24"; hostname = "mikey.${domain}"; }; @@ -65,12 +63,6 @@ in privateKeyFile = "/secrets/wireguard/server.key"; peers = [ - { - # Manduria - allowedIPs = [ (getDeviceAddress "manduria") ]; - publicKey = "wT38oXvDQ8g0hI+pAXQobOWf/Wott2zhwo8TLvXK400="; - } - { # Antonio allowedIPs = [ (getDeviceAddress "antonio") ]; @@ -119,12 +111,6 @@ in publicKey = "Yg0P+yHi/9SZHyoel8jT9fmmu+irLYmT8yMp/CZoaSg="; } - { - # tommy - allowedIPs = [ (getDeviceAddress "tommy") ]; - publicKey = "tytknU7wql1d0A2provX3RP7CNcEIajfgBJKoSyVLgo="; - } - { # alain allowedIPs = [ (getDeviceAddress "alain") ];