Unverified Commit 768f41fc authored by Aaron Andersen's avatar Aaron Andersen Committed by GitHub
Browse files

Revert "nixos/openvpn: add extraArgs option" (#341223)

parents 80aafedd 45dd0966
Loading
Loading
Loading
Loading
+1 −10
Original line number Diff line number Diff line
@@ -64,7 +64,7 @@ let

      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.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 {
            default = null;
            description = ''