30 current 2025-10-07 16:33:54 25.05.20251001.5b5be50 6.12.49 *
This commit is contained in:
@@ -19,10 +19,11 @@ in
|
|||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
|
|
||||||
# enable pia mexico w/ openvpn
|
# enable pia mexico w/ openvpn
|
||||||
services.openvpn.servers.openvpn_pia_mexico = lib.mkIf cfg.openvpn_pia_mexico {
|
services.openvpn.servers = lib.mkIf cfg.openvpn_pia_mexico {
|
||||||
enable = true;
|
openvpn_pia_mexico = {
|
||||||
config = "config ${config.sops.secrets."openvpn_pia_mexico_config".path}";
|
enable = true;
|
||||||
};
|
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";
|
||||||
|
|||||||
Reference in New Issue
Block a user