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:
parent
1dd996e59a
commit
6afb255d97
1701 changed files with 13694 additions and 13865 deletions
|
@ -191,7 +191,7 @@ in
|
|||
boot.hardwareScan = mkOption {
|
||||
type = types.bool;
|
||||
default = true;
|
||||
description = lib.mdDoc ''
|
||||
description = ''
|
||||
Whether to try to load kernel modules for all detected hardware.
|
||||
Usually this does a good job of providing you with the modules
|
||||
you need, but sometimes it can crash the system or cause other
|
||||
|
@ -200,14 +200,14 @@ in
|
|||
};
|
||||
|
||||
services.udev = {
|
||||
enable = mkEnableOption (lib.mdDoc "udev, a device manager for the Linux kernel") // {
|
||||
enable = mkEnableOption "udev, a device manager for the Linux kernel" // {
|
||||
default = true;
|
||||
};
|
||||
|
||||
packages = mkOption {
|
||||
type = types.listOf types.path;
|
||||
default = [];
|
||||
description = lib.mdDoc ''
|
||||
description = ''
|
||||
List of packages containing {command}`udev` rules.
|
||||
All files found in
|
||||
{file}`«pkg»/etc/udev/rules.d` and
|
||||
|
@ -220,7 +220,7 @@ in
|
|||
path = mkOption {
|
||||
type = types.listOf types.path;
|
||||
default = [];
|
||||
description = lib.mdDoc ''
|
||||
description = ''
|
||||
Packages added to the {env}`PATH` environment variable when
|
||||
executing programs from Udev rules.
|
||||
|
||||
|
@ -235,7 +235,7 @@ in
|
|||
ENV{ID_VENDOR_ID}=="046d", ENV{ID_MODEL_ID}=="0825", ENV{PULSE_IGNORE}="1"
|
||||
'';
|
||||
type = types.lines;
|
||||
description = lib.mdDoc ''
|
||||
description = ''
|
||||
Additional {command}`udev` rules. They'll be written
|
||||
into file {file}`99-local.rules`. Thus they are
|
||||
read and applied after all other rules.
|
||||
|
@ -250,7 +250,7 @@ in
|
|||
KEYBOARD_KEY_700e2=leftctrl
|
||||
'';
|
||||
type = types.lines;
|
||||
description = lib.mdDoc ''
|
||||
description = ''
|
||||
Additional {command}`hwdb` files. They'll be written
|
||||
into file {file}`99-local.hwdb`. Thus they are
|
||||
read after all other files.
|
||||
|
@ -262,7 +262,7 @@ in
|
|||
hardware.firmware = mkOption {
|
||||
type = types.listOf types.package;
|
||||
default = [];
|
||||
description = lib.mdDoc ''
|
||||
description = ''
|
||||
List of packages containing firmware files. Such files
|
||||
will be loaded automatically if the kernel asks for them
|
||||
(i.e., when it has detected specific hardware that requires
|
||||
|
@ -282,7 +282,7 @@ in
|
|||
networking.usePredictableInterfaceNames = mkOption {
|
||||
default = true;
|
||||
type = types.bool;
|
||||
description = lib.mdDoc ''
|
||||
description = ''
|
||||
Whether to assign [predictable names to network interfaces](https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/).
|
||||
If enabled, interfaces
|
||||
are assigned names that contain topology information
|
||||
|
@ -300,7 +300,7 @@ in
|
|||
packages = mkOption {
|
||||
type = types.listOf types.path;
|
||||
default = [];
|
||||
description = lib.mdDoc ''
|
||||
description = ''
|
||||
*This will only be used when systemd is used in stage 1.*
|
||||
|
||||
List of packages containing {command}`udev` rules that will be copied to stage 1.
|
||||
|
@ -314,7 +314,7 @@ in
|
|||
binPackages = mkOption {
|
||||
type = types.listOf types.path;
|
||||
default = [];
|
||||
description = lib.mdDoc ''
|
||||
description = ''
|
||||
*This will only be used when systemd is used in stage 1.*
|
||||
|
||||
Packages to search for binaries that are referenced by the udev rules in stage 1.
|
||||
|
@ -329,7 +329,7 @@ in
|
|||
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:1D:60:B9:6D:4F", KERNEL=="eth*", NAME="my_fast_network_card"
|
||||
'';
|
||||
type = types.lines;
|
||||
description = lib.mdDoc ''
|
||||
description = ''
|
||||
{command}`udev` rules to include in the initrd
|
||||
*only*. They'll be written into file
|
||||
{file}`99-local.rules`. Thus they are read and applied
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue