mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +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:
parent
1dd996e59a
commit
6afb255d97
1701 changed files with 13694 additions and 13865 deletions
|
@ -10,7 +10,7 @@ in
|
|||
meta.maintainers = with maintainers; [ yunfachi ];
|
||||
|
||||
options.hardware.uni-sync = {
|
||||
enable = mkEnableOption (mdDoc "udev rules and software for Lian Li Uni Controllers");
|
||||
enable = mkEnableOption "udev rules and software for Lian Li Uni Controllers";
|
||||
package = mkPackageOption pkgs "uni-sync" { };
|
||||
|
||||
devices = mkOption {
|
||||
|
@ -50,19 +50,19 @@ in
|
|||
}
|
||||
]
|
||||
'';
|
||||
description = mdDoc "List of controllers with their configurations.";
|
||||
description = "List of controllers with their configurations.";
|
||||
type = types.listOf (types.submodule {
|
||||
options = {
|
||||
device_id = mkOption {
|
||||
type = types.str;
|
||||
example = "VID:1111/PID:11111/SN:1111111111";
|
||||
description = mdDoc "Unique device ID displayed at each startup.";
|
||||
description = "Unique device ID displayed at each startup.";
|
||||
};
|
||||
sync_rgb = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
example = true;
|
||||
description = mdDoc "Enable ARGB header sync.";
|
||||
description = "Enable ARGB header sync.";
|
||||
};
|
||||
channels = mkOption {
|
||||
default = [ ];
|
||||
|
@ -85,20 +85,20 @@ in
|
|||
}
|
||||
]
|
||||
'';
|
||||
description = mdDoc "List of channels connected to the controller.";
|
||||
description = "List of channels connected to the controller.";
|
||||
type = types.listOf (types.submodule {
|
||||
options = {
|
||||
mode = mkOption {
|
||||
type = types.enum [ "Manual" "PWM" ];
|
||||
default = "Manual";
|
||||
example = "PWM";
|
||||
description = mdDoc "\"PWM\" to enable PWM sync. \"Manual\" to set speed.";
|
||||
description = "\"PWM\" to enable PWM sync. \"Manual\" to set speed.";
|
||||
};
|
||||
speed = mkOption {
|
||||
type = types.int;
|
||||
default = "50";
|
||||
example = "100";
|
||||
description = mdDoc "Fan speed as percentage (clamped between 0 and 100).";
|
||||
description = "Fan speed as percentage (clamped between 0 and 100).";
|
||||
};
|
||||
};
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue