117 current 2025-10-08 19:07:36 25.05.20251006.20c4598 6.12.50 *

This commit is contained in:
2025-10-08 19:45:23 -05:00
parent 6872ed49ff
commit 1fac4db005

View File

@@ -13,7 +13,6 @@ in
default = false; default = false;
description = "enable pia vpn to mexico using openvpn"; description = "enable pia vpn to mexico using openvpn";
}; };
}; };
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
@@ -34,15 +33,9 @@ in
}]; }];
}; };
# Addd systemd service to VPN network namespace
systemd.services.transmission.vpnConfinement = {
enable = true;
vpnNamespace = "wg";
};
# secrets only if VPN is enabled # secrets only if VPN is enabled
sops.secrets = { sops.secrets = {
"vpncon_mex_config" = { owner = "root"; group = "root"; } "vpncon_mex_config" = { owner = "root"; group = "root"; };
}; };
}; };
} }