diff options
author | stuebinm <stuebinm@disroot.org> | 2024-04-13 14:54:15 +0200 |
---|---|---|
committer | Jonathan Ringer <jonringer@users.noreply.github.com> | 2024-04-13 10:07:35 -0700 |
commit | 6afb255d976f85f3359e4929abd6f5149c323a02 (patch) | |
tree | ced23a118ee0852174d31005acd16f04cad3a781 /nixos/modules/services/scheduling | |
parent | 1dd996e59a5e67694b7a252aacba71a88d51b41e (diff) |
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.
Diffstat (limited to 'nixos/modules/services/scheduling')
-rw-r--r-- | nixos/modules/services/scheduling/atd.nix | 4 | ||||
-rw-r--r-- | nixos/modules/services/scheduling/cron.nix | 8 | ||||
-rw-r--r-- | nixos/modules/services/scheduling/fcron.nix | 12 |
3 files changed, 12 insertions, 12 deletions
diff --git a/nixos/modules/services/scheduling/atd.nix b/nixos/modules/services/scheduling/atd.nix index 235d4f348e5e3..541d8f799c8e1 100644 --- a/nixos/modules/services/scheduling/atd.nix +++ b/nixos/modules/services/scheduling/atd.nix @@ -19,7 +19,7 @@ in services.atd.enable = mkOption { type = types.bool; default = false; - description = lib.mdDoc '' + description = '' Whether to enable the {command}`at` daemon, a command scheduler. ''; }; @@ -27,7 +27,7 @@ in services.atd.allowEveryone = mkOption { type = types.bool; default = false; - description = lib.mdDoc '' + description = '' Whether to make {file}`/var/spool/at{jobs,spool}` writeable by everyone (and sticky). This is normally not needed since the {command}`at` commands are diff --git a/nixos/modules/services/scheduling/cron.nix b/nixos/modules/services/scheduling/cron.nix index 6e8fe5d9d031e..89834b9f01c4a 100644 --- a/nixos/modules/services/scheduling/cron.nix +++ b/nixos/modules/services/scheduling/cron.nix @@ -40,13 +40,13 @@ in enable = mkOption { type = types.bool; default = false; - description = lib.mdDoc "Whether to enable the Vixie cron daemon."; + description = "Whether to enable the Vixie cron daemon."; }; mailto = mkOption { type = types.nullOr types.str; default = null; - description = lib.mdDoc "Email address to which job output will be mailed."; + description = "Email address to which job output will be mailed."; }; systemCronJobs = mkOption { @@ -57,7 +57,7 @@ in "* * * * * eelco echo Hello World > /home/eelco/cronout" ] ''; - description = lib.mdDoc '' + description = '' A list of Cron jobs to be appended to the system-wide crontab. See the manual page for crontab for the expected format. If you want to get the results mailed you must setuid @@ -76,7 +76,7 @@ in cronFiles = mkOption { type = types.listOf types.path; default = []; - description = lib.mdDoc '' + description = '' A list of extra crontab files that will be read and appended to the main crontab file when the cron service starts. ''; diff --git a/nixos/modules/services/scheduling/fcron.nix b/nixos/modules/services/scheduling/fcron.nix index 47bd358f979da..db627841526e2 100644 --- a/nixos/modules/services/scheduling/fcron.nix +++ b/nixos/modules/services/scheduling/fcron.nix @@ -40,13 +40,13 @@ in enable = mkOption { type = types.bool; default = false; - description = lib.mdDoc "Whether to enable the {command}`fcron` daemon."; + description = "Whether to enable the {command}`fcron` daemon."; }; allow = mkOption { type = types.listOf types.str; default = [ "all" ]; - description = lib.mdDoc '' + description = '' Users allowed to use fcrontab and fcrondyn (one name per line, `all` for everyone). ''; @@ -55,25 +55,25 @@ in deny = mkOption { type = types.listOf types.str; default = []; - description = lib.mdDoc "Users forbidden from using fcron."; + description = "Users forbidden from using fcron."; }; maxSerialJobs = mkOption { type = types.int; default = 1; - description = lib.mdDoc "Maximum number of serial jobs which can run simultaneously."; + description = "Maximum number of serial jobs which can run simultaneously."; }; queuelen = mkOption { type = types.nullOr types.int; default = null; - description = lib.mdDoc "Number of jobs the serial queue and the lavg queue can contain."; + description = "Number of jobs the serial queue and the lavg queue can contain."; }; systab = mkOption { type = types.lines; default = ""; - description = lib.mdDoc ''The "system" crontab contents.''; + description = ''The "system" crontab contents.''; }; }; |