Loading nixos/modules/services/networking/openvpn.nix +3 −3 Original line number Diff line number Diff line Loading @@ -11,8 +11,6 @@ let cfg = config.services.openvpn; inherit (pkgs) openvpn; makeOpenVPNJob = cfg: name: let Loading Loading @@ -77,7 +75,7 @@ let pkgs.net-tools ]; serviceConfig.ExecStart = "@${openvpn}/sbin/openvpn openvpn --suppress-timestamps --config ${configFile}"; serviceConfig.ExecStart = "@${cfg.package}/sbin/openvpn openvpn --suppress-timestamps --config ${configFile}"; serviceConfig.Restart = "always"; serviceConfig.Type = "notify"; }; Loading Loading @@ -166,6 +164,8 @@ in ''; }; package = lib.mkPackageOption pkgs "openvpn" { }; up = mkOption { default = ""; type = types.lines; Loading Loading
nixos/modules/services/networking/openvpn.nix +3 −3 Original line number Diff line number Diff line Loading @@ -11,8 +11,6 @@ let cfg = config.services.openvpn; inherit (pkgs) openvpn; makeOpenVPNJob = cfg: name: let Loading Loading @@ -77,7 +75,7 @@ let pkgs.net-tools ]; serviceConfig.ExecStart = "@${openvpn}/sbin/openvpn openvpn --suppress-timestamps --config ${configFile}"; serviceConfig.ExecStart = "@${cfg.package}/sbin/openvpn openvpn --suppress-timestamps --config ${configFile}"; serviceConfig.Restart = "always"; serviceConfig.Type = "notify"; }; Loading Loading @@ -166,6 +164,8 @@ in ''; }; package = lib.mkPackageOption pkgs "openvpn" { }; up = mkOption { default = ""; type = types.lines; Loading