From 9cda35a91af686348ae4c3daeb9e2be41764b83e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20R=C3=B6ger?= Date: Thu, 24 Apr 2025 01:41:47 +0200 Subject: [PATCH] System Gen172 @ 2025-04-24-01:41:46 --- modules/networking/wireguard/client.nix | 7 ------- 1 file changed, 7 deletions(-) diff --git a/modules/networking/wireguard/client.nix b/modules/networking/wireguard/client.nix index fa7d295..0d7b559 100644 --- a/modules/networking/wireguard/client.nix +++ b/modules/networking/wireguard/client.nix @@ -8,11 +8,6 @@ in { options.networking.wg.client = { enable = lib.mkEnableOption "Enable WireGuard client"; - port = lib.mkOption { - type = lib.types.port; - default = 51820; - description = "Port for WireGuard client"; - }; autoConnect = lib.mkOption { type = lib.types.bool; default = false; @@ -25,11 +20,9 @@ in { }; config = lib.mkIf cfg.enable { - networking.firewall.allowedUDPPorts = [cfg.port]; networking.wg-quick.interfaces.wg0 = { inherit (peers.jonas) address; inherit (cfg) privateKeyFile; - listenPort = cfg.port; autostart = cfg.autoConnect; peers = [ peers.harbor