diff --git a/modules/system/vpn-confinement.nix b/modules/system/vpn-confinement.nix index 1e52c2e..9dc95dd 100644 --- a/modules/system/vpn-confinement.nix +++ b/modules/system/vpn-confinement.nix @@ -44,24 +44,5 @@ in sops.secrets = { "vpncon_mex_config" = { owner = "root"; group = "root"; } }; - - } - - - vpnNamespaces. = { # The name is limited to 7 characters - enable = true; - wireguardConfigFile = config.sops.secrets."vpncon_mex_config".path; - accessibleFrom = [ - "" - ]; - portMappings = [{ - from = ; - to = ; - protocol = ""; # protocol = "tcp"(default), "udp", or "both" - }]; - openVPNPorts = [{ - port = ; - protocol = ""; # protocol = "tcp"(default), "udp", or "both" - }]; - }; + }; }