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/system/boot/loader/systemd-boot/systemd-boot.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/system/boot/loader/systemd-boot/systemd-boot.nix')
-rw-r--r-- | nixos/modules/system/boot/loader/systemd-boot/systemd-boot.nix | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/nixos/modules/system/boot/loader/systemd-boot/systemd-boot.nix b/nixos/modules/system/boot/loader/systemd-boot/systemd-boot.nix index ba07506266e2..8b218cf1a6b2 100644 --- a/nixos/modules/system/boot/loader/systemd-boot/systemd-boot.nix +++ b/nixos/modules/system/boot/loader/systemd-boot/systemd-boot.nix @@ -105,7 +105,7 @@ in { type = types.bool; - description = lib.mdDoc '' + description = '' Whether to enable the systemd-boot (formerly gummiboot) EFI boot manager. For more information about systemd-boot: https://www.freedesktop.org/wiki/Software/systemd/systemd-boot/ @@ -146,7 +146,7 @@ in { type = types.bool; - description = lib.mdDoc '' + description = '' Whether to allow editing the kernel command-line before boot. It is recommended to set this to false, as it allows gaining root access by passing init=/bin/sh as a kernel @@ -158,7 +158,7 @@ in { xbootldrMountPoint = mkOption { default = null; type = types.nullOr types.str; - description = lib.mdDoc '' + description = '' Where the XBOOTLDR partition is mounted. If set, this partition will be used as $BOOT to store boot loader entries and extra files @@ -171,7 +171,7 @@ in { default = null; example = 120; type = types.nullOr types.int; - description = lib.mdDoc '' + description = '' Maximum number of latest generations in the boot menu. Useful to prevent boot partition running out of disk space. @@ -188,7 +188,7 @@ in { sed -i "s|@INIT@|$init_value|g" /boot/custom/config_with_placeholder.conf ''; type = types.lines; - description = lib.mdDoc '' + description = '' Additional shell commands inserted in the bootloader installer script after generating menu entries. It can be used to expand on extra boot entries that cannot incorporate certain pieces of @@ -201,7 +201,7 @@ in { type = types.enum [ "0" "1" "2" "auto" "max" "keep" ]; - description = lib.mdDoc '' + description = '' The resolution of the console. The following values are valid: - `"0"`: Standard UEFI 80x25 mode @@ -217,7 +217,7 @@ in { enable = mkOption { default = false; type = types.bool; - description = lib.mdDoc '' + description = '' Make Memtest86+ available from the systemd-boot menu. Memtest86+ is a program for testing memory. ''; @@ -226,7 +226,7 @@ in { sortKey = mkOption { default = "o_memtest86"; type = types.str; - description = lib.mdDoc '' + description = '' `systemd-boot` orders the menu entries by their sort keys, so if you want something to appear after all the NixOS entries, it should start with {file}`o` or onwards. @@ -240,7 +240,7 @@ in { enable = mkOption { default = false; type = types.bool; - description = lib.mdDoc '' + description = '' Make `netboot.xyz` available from the `systemd-boot` menu. `netboot.xyz` is a menu system that allows you to boot OS installers and @@ -251,7 +251,7 @@ in { sortKey = mkOption { default = "o_netbootxyz"; type = types.str; - description = lib.mdDoc '' + description = '' `systemd-boot` orders the menu entries by their sort keys, so if you want something to appear after all the NixOS entries, it should start with {file}`o` or onwards. @@ -271,7 +271,7 @@ in { sort-key z_memtest '''; } ''; - description = lib.mdDoc '' + description = '' Any additional entries you want added to the `systemd-boot` menu. These entries will be copied to {file}`$BOOT/loader/entries`. Each attribute name denotes the destination file name, @@ -290,7 +290,7 @@ in { example = literalExpression '' { "efi/memtest86/memtest.efi" = "''${pkgs.memtest86plus}/memtest.efi"; } ''; - description = lib.mdDoc '' + description = '' A set of files to be copied to {file}`$BOOT`. Each attribute name denotes the destination file name in {file}`$BOOT`, while the corresponding @@ -303,7 +303,7 @@ in { type = types.bool; - description = lib.mdDoc '' + description = '' Invoke `bootctl install` with the `--graceful` option, which ignores errors when EFI variables cannot be written or when the EFI System Partition cannot be found. Currently only applies to random seed operations. |