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/x11 | |
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/x11')
101 files changed, 406 insertions, 422 deletions
diff --git a/nixos/modules/services/x11/clight.nix b/nixos/modules/services/x11/clight.nix index 0f66e191fe28..40a0f3e065d0 100644 --- a/nixos/modules/services/x11/clight.nix +++ b/nixos/modules/services/x11/clight.nix @@ -28,13 +28,13 @@ let cfg.settings)); in { options.services.clight = { - enable = mkEnableOption (lib.mdDoc "clight"); + enable = mkEnableOption "clight"; temperature = { day = mkOption { type = types.int; default = 5500; - description = lib.mdDoc '' + description = '' Colour temperature to use during the day, between `1000` and `25000` K. ''; @@ -42,7 +42,7 @@ in { night = mkOption { type = types.int; default = 3700; - description = lib.mdDoc '' + description = '' Colour temperature to use at night, between `1000` and `25000` K. ''; @@ -56,7 +56,7 @@ in { type = with types; attrsOf (nullOr (either collectionTypes (attrsOf collectionTypes))); default = {}; example = { captures = 20; gamma_long_transition = true; ac_capture_timeouts = [ 120 300 60 ]; }; - description = lib.mdDoc '' + description = '' Additional configuration to extend clight.conf. See <https://github.com/FedeDP/Clight/blob/master/Extra/clight.conf> for a sample configuration file. diff --git a/nixos/modules/services/x11/colord.nix b/nixos/modules/services/x11/colord.nix index cb7b9096e5db..31ccee6aa33f 100644 --- a/nixos/modules/services/x11/colord.nix +++ b/nixos/modules/services/x11/colord.nix @@ -11,7 +11,7 @@ in { options = { services.colord = { - enable = mkEnableOption (lib.mdDoc "colord, the color management daemon"); + enable = mkEnableOption "colord, the color management daemon"; }; }; diff --git a/nixos/modules/services/x11/desktop-managers/budgie.nix b/nixos/modules/services/x11/desktop-managers/budgie.nix index d6e6bb2fa14e..75ee82f1f948 100644 --- a/nixos/modules/services/x11/desktop-managers/budgie.nix +++ b/nixos/modules/services/x11/desktop-managers/budgie.nix @@ -1,7 +1,7 @@ { lib, pkgs, config, utils, ... }: let - inherit (lib) concatMapStrings literalExpression mdDoc mkDefault mkEnableOption mkIf mkOption types; + inherit (lib) concatMapStrings literalExpression mkDefault mkEnableOption mkIf mkOption types; cfg = config.services.xserver.desktopManager.budgie; @@ -50,10 +50,10 @@ in { options = { services.xserver.desktopManager.budgie = { - enable = mkEnableOption (mdDoc "the Budgie desktop"); + enable = mkEnableOption "the Budgie desktop"; sessionPath = mkOption { - description = lib.mdDoc '' + description = '' Additional list of packages to be added to the session search path. Useful for GSettings-conditional autostart. @@ -65,19 +65,19 @@ in { }; extraGSettingsOverrides = mkOption { - description = mdDoc "Additional GSettings overrides."; + description = "Additional GSettings overrides."; type = types.lines; default = ""; }; extraGSettingsOverridePackages = mkOption { - description = mdDoc "List of packages for which GSettings are overridden."; + description = "List of packages for which GSettings are overridden."; type = types.listOf types.path; default = []; }; extraPlugins = mkOption { - description = mdDoc "Extra plugins for the Budgie desktop"; + description = "Extra plugins for the Budgie desktop"; type = types.listOf types.package; default = []; example = literalExpression "[ pkgs.budgiePlugins.budgie-analogue-clock-applet ]"; @@ -85,7 +85,7 @@ in { }; environment.budgie.excludePackages = mkOption { - description = mdDoc "Which packages Budgie should exclude from the default environment."; + description = "Which packages Budgie should exclude from the default environment."; type = types.listOf types.package; default = []; example = literalExpression "[ pkgs.mate-terminal ]"; diff --git a/nixos/modules/services/x11/desktop-managers/cde.nix b/nixos/modules/services/x11/desktop-managers/cde.nix index ad4b5d27f9d9..ae9a8ce22392 100644 --- a/nixos/modules/services/x11/desktop-managers/cde.nix +++ b/nixos/modules/services/x11/desktop-managers/cde.nix @@ -7,7 +7,7 @@ let cfg = xcfg.desktopManager.cde; in { options.services.xserver.desktopManager.cde = { - enable = mkEnableOption (lib.mdDoc "Common Desktop Environment"); + enable = mkEnableOption "Common Desktop Environment"; extraPackages = mkOption { type = with types; listOf package; @@ -19,7 +19,7 @@ in { xclock bitmap xlsfonts xfd xrefresh xload xwininfo xdpyinfo xwd xwud ] ''; - description = lib.mdDoc '' + description = '' Extra packages to be installed system wide. ''; }; diff --git a/nixos/modules/services/x11/desktop-managers/cinnamon.nix b/nixos/modules/services/x11/desktop-managers/cinnamon.nix index 6983b51376fd..8c29b41c8cf8 100644 --- a/nixos/modules/services/x11/desktop-managers/cinnamon.nix +++ b/nixos/modules/services/x11/desktop-managers/cinnamon.nix @@ -18,17 +18,17 @@ in { options = { |