diff --git a/hosts/thinkpad/modules/networks/default.nix b/hosts/thinkpad/modules/networks/default.nix index 399f537..c143ba2 100644 --- a/hosts/thinkpad/modules/networks/default.nix +++ b/hosts/thinkpad/modules/networks/default.nix @@ -9,9 +9,6 @@ }; networking = { hostName = "thinkpad"; - firewall = { - #allowedUDPPorts = [ 51820 ]; # used for wireguard - }; wireless = { enable = true; userControlled.enable = true; @@ -33,14 +30,14 @@ wg-quick.interfaces = { Dorm = { address = [ "10.10.10.3/32" ]; - privateKeyFile = config.sops.secrets."wireguard/dorm/private".path; + privateKeyFile = config.sops.secrets."wireguard/dorm/private".path; listenPort = 51820; dns = [ "192.168.10.1" ]; autostart = false; peers = [ { publicKey = "vUmworuJFHjB4KUdkucQ+nzqO2ysARLomq4UuK1n430="; - presharedKeyFile = config.sops.secrets."wireguard/dorm/preshared".path; + presharedKeyFile = config.sops.secrets."wireguard/dorm/preshared".path; allowedIPs = [ "0.0.0.0/0" ]; endpoint = "dorm.vpn.rfive.de:51820"; }