117 current 2025-10-08 19:07:36 25.05.20251006.20c4598 6.12.50 *
This commit is contained in:
@@ -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"; };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user