mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 13:40:28 +03:00
Revert "nixos/openvpn: add extraArgs option"
This commit is contained in:
parent
686fa55f27
commit
45dd09667f
1 changed files with 1 additions and 10 deletions
|
@ -64,7 +64,7 @@ let
|
||||||
|
|
||||||
path = [ pkgs.iptables pkgs.iproute2 pkgs.nettools ];
|
path = [ pkgs.iptables pkgs.iproute2 pkgs.nettools ];
|
||||||
|
|
||||||
serviceConfig.ExecStart = "@${openvpn}/sbin/openvpn openvpn --suppress-timestamps --config ${configFile} ${cfg.extraArgs}";
|
serviceConfig.ExecStart = "@${openvpn}/sbin/openvpn openvpn --suppress-timestamps --config ${configFile}";
|
||||||
serviceConfig.Restart = "always";
|
serviceConfig.Restart = "always";
|
||||||
serviceConfig.Type = "notify";
|
serviceConfig.Type = "notify";
|
||||||
};
|
};
|
||||||
|
@ -181,15 +181,6 @@ in
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
extraArgs = mkOption {
|
|
||||||
default = null;
|
|
||||||
type = listOf str;
|
|
||||||
description = ''
|
|
||||||
Additional command line arguments to pass to this OpenVPN instance.
|
|
||||||
'';
|
|
||||||
apply = lib.escapeShellArgs;
|
|
||||||
};
|
|
||||||
|
|
||||||
authUserPass = mkOption {
|
authUserPass = mkOption {
|
||||||
default = null;
|
default = null;
|
||||||
description = ''
|
description = ''
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue