31 current 2025-10-07 18:51:16 25.05.20251001.5b5be50 6.12.49 *
This commit is contained in:
@@ -22,9 +22,18 @@ in
|
||||
services.openvpn.servers = lib.mkIf cfg.openvpn_pia_mexico {
|
||||
openvpn_pia_mexico = {
|
||||
config = "config ${config.sops.secrets."openvpn_pia_mexico_config".path}";
|
||||
authUserPass = "auth-user-pass ${config.sops.secrets."openvpn_pia_mexico_auth".path}";
|
||||
};
|
||||
};
|
||||
sops.secrets = {
|
||||
"openvpn_pia_mexico_username" = {
|
||||
owner = "root";
|
||||
group = "root";
|
||||
};
|
||||
"openvpn_pia_mexico_password" = {
|
||||
owner = "root";
|
||||
group = "root";
|
||||
};
|
||||
"openvpn_pia_mexico_config" = {
|
||||
owner = "root";
|
||||
group = "root";
|
||||
|
||||
Reference in New Issue
Block a user