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/hardware/acpid.nix | |
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/hardware/acpid.nix')
-rw-r--r-- | nixos/modules/services/hardware/acpid.nix | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/nixos/modules/services/hardware/acpid.nix b/nixos/modules/services/hardware/acpid.nix index 821f4ef205fc5..581b6cb401362 100644 --- a/nixos/modules/services/hardware/acpid.nix +++ b/nixos/modules/services/hardware/acpid.nix @@ -48,12 +48,12 @@ in services.acpid = { - enable = mkEnableOption (lib.mdDoc "the ACPI daemon"); + enable = mkEnableOption "the ACPI daemon"; logEvents = mkOption { type = types.bool; default = false; - description = lib.mdDoc "Log all event activity."; + description = "Log all event activity."; }; handlers = mkOption { @@ -62,17 +62,17 @@ in event = mkOption { type = types.str; example = literalExpression ''"button/power.*" "button/lid.*" "ac_adapter.*" "button/mute.*" "button/volumedown.*" "cd/play.*" "cd/next.*"''; - description = lib.mdDoc "Event type."; + description = "Event type."; }; action = mkOption { type = types.lines; - description = lib.mdDoc "Shell commands to execute when the event is triggered."; + description = "Shell commands to execute when the event is triggered."; }; }; }); - description = lib.mdDoc '' + description = '' Event handlers. ::: {.note} @@ -104,19 +104,19 @@ in powerEventCommands = mkOption { type = types.lines; default = ""; - description = lib.mdDoc "Shell commands to execute on a button/power.* event."; + description = "Shell commands to execute on a button/power.* event."; }; lidEventCommands = mkOption { type = types.lines; default = ""; - description = lib.mdDoc "Shell commands to execute on a button/lid.* event."; + description = "Shell commands to execute on a button/lid.* event."; }; acEventCommands = mkOption { type = types.lines; default = ""; - description = lib.mdDoc "Shell commands to execute on an ac_adapter.* event."; + description = "Shell commands to execute on an ac_adapter.* event."; }; }; |