0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 13:40:28 +03:00

nixos: remove all uses of lib.mdDoc

these changes were generated with nixq 0.0.2, by running

  nixq ">> lib.mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix
  nixq ">> mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix
  nixq ">> Inherit >> mdDoc[remove]" --batchmode nixos/**.nix

two mentions of the mdDoc function remain in nixos/, both of which
are inside of comments.

Since lib.mdDoc is already defined as just id, this commit is a no-op as
far as Nix (and the built manual) is concerned.
This commit is contained in:
stuebinm 2024-04-13 14:54:15 +02:00 committed by Jonathan Ringer
parent 1dd996e59a
commit 6afb255d97
1701 changed files with 13694 additions and 13865 deletions

View file

@ -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.";
};
};