diff options
Diffstat (limited to 'nixpkgs/nixos/modules/services/networking/openvpn.nix')
-rw-r--r-- | nixpkgs/nixos/modules/services/networking/openvpn.nix | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/nixpkgs/nixos/modules/services/networking/openvpn.nix b/nixpkgs/nixos/modules/services/networking/openvpn.nix index 9a5866f2afd4..4a00cdc64975 100644 --- a/nixpkgs/nixos/modules/services/networking/openvpn.nix +++ b/nixpkgs/nixos/modules/services/networking/openvpn.nix @@ -124,7 +124,7 @@ in } ''; - description = lib.mdDoc '' + description = '' Each attribute of this option defines a systemd service that runs an OpenVPN instance. These can be OpenVPN servers or clients. The name of each systemd service is @@ -139,7 +139,7 @@ in config = mkOption { type = types.lines; - description = lib.mdDoc '' + description = '' Configuration of this OpenVPN instance. See {manpage}`openvpn(8)` for details. @@ -152,7 +152,7 @@ in up = mkOption { default = ""; type = types.lines; - description = lib.mdDoc '' + description = '' Shell commands executed when the instance is starting. ''; }; @@ -160,7 +160,7 @@ in down = mkOption { default = ""; type = types.lines; - description = lib.mdDoc '' + description = '' Shell commands executed when the instance is shutting down. ''; }; @@ -168,13 +168,13 @@ in autoStart = mkOption { default = true; type = types.bool; - description = lib.mdDoc "Whether this OpenVPN instance should be started automatically."; + description = "Whether this OpenVPN instance should be started automatically."; }; updateResolvConf = mkOption { default = false; type = types.bool; - description = lib.mdDoc '' + description = '' Use the script from the update-resolv-conf package to automatically update resolv.conf with the DNS information provided by openvpn. The script will be run after the "up" commands and before the "down" commands. @@ -183,7 +183,7 @@ in authUserPass = mkOption { default = null; - description = lib.mdDoc '' + description = '' This option can be used to store the username / password credentials with the "auth-user-pass" authentication method. @@ -193,12 +193,12 @@ in options = { username = mkOption { - description = lib.mdDoc "The username to store inside the credentials file."; + description = "The username to store inside the credentials file."; type = types.str; }; password = mkOption { - description = lib.mdDoc "The password to store inside the credentials file."; + description = "The password to store inside the credentials file."; type = types.str; }; }; @@ -213,7 +213,7 @@ in services.openvpn.restartAfterSleep = mkOption { default = true; type = types.bool; - description = lib.mdDoc "Whether OpenVPN client should be restarted after sleep."; + description = "Whether OpenVPN client should be restarted after sleep."; }; }; |