30 current 2025-10-07 16:33:54 25.05.20251001.5b5be50 6.12.49 *

This commit is contained in:
2025-10-07 18:43:57 -05:00
parent ab0ced1b4f
commit 3474125f15

View File

@@ -19,18 +19,15 @@ in
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
# enable pia mexico w/ openvpn # enable pia mexico w/ openvpn
config = lib.mkIf cfg.openvpn_pia_mexico { services.openvpn.servers.pia-mexico = lib.mkIf cfg.openvpn_pia_mexico {
services.openvpn.servers.pia-mexico = { enable = true;
enable = true; config = "config ${config.sops.secrets."openvpn_pia_mexico_config".path}";
config = "config ${config.sops.secrets."openvpn_pia_mexico_config".path}"; };
}; sops.secrets = {
sops.secrets = { "openvpn_pia_mexico_config" = {
"openvpn_pia_mexico_config" = { owner = "root";
owner = "root"; group = "root";
group = "root";
};
}; };
}; };
}; };
} }