From 99cf228d80ef5ac56420fd717241d6a767038bae Mon Sep 17 00:00:00 2001 From: Giulio De Pasquale Date: Wed, 8 Feb 2023 08:42:33 +0100 Subject: [PATCH] wireguard: Removed unused if. Renamed personal devices --- hosts/architect/wireguard.nix | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/hosts/architect/wireguard.nix b/hosts/architect/wireguard.nix index d3abf7b..cddca63 100644 --- a/hosts/architect/wireguard.nix +++ b/hosts/architect/wireguard.nix @@ -2,8 +2,8 @@ with import ./network.nix; { networking = { extraHosts = '' ${architect-wg} architect.devs.giugl.io - ${giuliopc-wg} giuliopc.devs.giugl.io - ${giuliophone-wg} giuliophone.devs.giugl.io + ${giuliopc-wg} kmerr.devs.giugl.io + ${giuliophone-wg} chuck.devs.giugl.io ${manduria-wg} manduria.devs.giugl.io ${antonio-wg} antonio.devs.giugl.io ${gbeast-wg} gbeast.devs.giugl.io @@ -36,17 +36,6 @@ with import ./network.nix; { ''; wireguard = { - # interfaces.${proxy-if} = { - # ips = [ "10.4.0.2/32" ]; - # privateKeyFile = "/secrets/wireguard/proxy.key"; - # peers = [{ - # publicKey = "WmJBpXpYebcmJEF8nVTKMqQK01KyBe42vzc38K66rVs="; - # allowedIPs = [ "10.4.0.1/32" ]; - # endpoint = "giugl.io:1195"; - # persistentKeepalive = 21; - # }]; - # }; - interfaces.${vpn-if} = { listenPort = 1194; ips = [ "10.3.0.1/24" ];