Skip to content

Commit

Permalink
nixos/hardware.display: drop removed lib.mdDoc
Browse files Browse the repository at this point in the history
  • Loading branch information
nazarewk committed Apr 18, 2024
1 parent 724decb commit 0467e26
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions nixos/modules/services/hardware/display.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ in
type = with lib.types; bool;
default = cfg.edid.packages != null;
defaultText = lib.literalExpression "config.hardware.display.edid.packages != null";
description = lib.mdDoc ''
description = ''
Enables handling of EDID files
'';
};

hardware.display.edid.packages = lib.mkOption {
type = with lib.types; listOf package;
default = [ ];
description = lib.mdDoc ''
description = ''
List of packages containing EDID binary files at `$out/lib/firmware/edid`.
Such files will be available for use in `drm.edid_firmware` kernel
parameter as `edid/<filename>`.
Expand Down Expand Up @@ -53,7 +53,7 @@ in
hardware.display.edid.linuxhw = lib.mkOption {
type = with lib.types; attrsOf (listOf str);
default = { };
description = lib.mdDoc ''
description = ''
Exposes EDID files from users-sourced database at https://github.com/linuxhw/EDID
Attribute names will be mapped to EDID filenames `<NAME>.bin`.
Expand Down Expand Up @@ -87,7 +87,7 @@ in
hardware.display.edid.modelines = lib.mkOption {
type = with lib.types; attrsOf str;
default = { };
description = lib.mdDoc ''
description = ''
Attribute set of XFree86 Modelines automatically converted
and exposed as `edid/<name>.bin` files in initrd.
See for more information:
Expand Down Expand Up @@ -118,7 +118,7 @@ in
hardware.display.edid.applyWithKernelParameters = lib.mkOption {
type = with lib.types; bool;
default = true;
description = lib.mdDoc ''
description = ''
Apply EDID files during early boot through kernel parameters.
You can optionally disable it and switch completely to `applyAtRuntime`
Expand All @@ -130,7 +130,7 @@ in
hardware.display.edid.applyAtRuntime = lib.mkOption {
type = with lib.types; bool;
default = false;
description = lib.mdDoc ''
description = ''
Apply EDID files at runtime it addition to configuring kernel parameters.
It is a last resort fix when kernel parameters (temporarily) stop working.
Expand All @@ -144,7 +144,7 @@ in
edid = lib.mkOption {
type = with lib.types; nullOr str;
default = null;
description = lib.mdDoc ''
description = ''
An EDID filename to be used for configured display, as in `edid/<filename>`.
See for more information:
- `hardware.display.edid.packages`
Expand All @@ -154,7 +154,7 @@ in
mode = lib.mkOption {
type = with lib.types; nullOr str;
default = null;
description = lib.mdDoc ''
description = ''
A `video` kernel parameter (framebuffer mode) configuration for the specific output:
<xres>x<yres>[M][R][-<bpp>][@<refresh>][i][m][eDd]
Expand All @@ -169,7 +169,7 @@ in
};
};
}));
description = lib.mdDoc ''
description = ''
Hardware/kernel-level configuration of specific outputs.
'';
default = { };
Expand Down

0 comments on commit 0467e26

Please sign in to comment.