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/display-managers | |
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/display-managers')
-rw-r--r-- | nixos/modules/services/display-managers/default.nix | 24 | ||||
-rw-r--r-- | nixos/modules/services/display-managers/greetd.nix | 8 | ||||
-rw-r--r-- | nixos/modules/services/display-managers/sddm.nix | 24 |
3 files changed, 28 insertions, 28 deletions
diff --git a/nixos/modules/services/display-managers/default.nix b/nixos/modules/services/display-managers/default.nix index 7e808d0d63833..de3feb500f33b 100644 --- a/nixos/modules/services/display-managers/default.nix +++ b/nixos/modules/services/display-managers/default.nix @@ -45,25 +45,25 @@ in type = lib.types.lines; default = ""; example = "rm -f /var/log/my-display-manager.log"; - description = lib.mdDoc "Script executed before the display manager is started."; + description = "Script executed before the display manager is started."; }; execCmd = lib.mkOption { type = lib.types.str; example = lib.literalExpression ''"''${pkgs.lightdm}/bin/lightdm"''; - description = lib.mdDoc "Command to start the display manager."; + description = "Command to start the display manager."; }; environment = lib.mkOption { type = with lib.types; attrsOf unspecified; default = {}; - description = lib.mdDoc "Additional environment variables needed by the display manager."; + description = "Additional environment variables needed by the display manager."; }; hiddenUsers = lib.mkOption { type = with lib.types; listOf str; default = [ "nobody" ]; - description = lib.mdDoc '' + description = '' A list of users which will not be shown in the display manager. ''; }; @@ -71,7 +71,7 @@ in logToFile = lib.mkOption { type = lib.types.bool; default = false; - description = lib.mdDoc '' + description = '' Whether the display manager redirects the output of the session script to {file}`~/.xsession-errors`. ''; @@ -80,7 +80,7 @@ in logToJournal = lib.mkOption { type = lib.types.bool; default = true; - description = lib.mdDoc '' + description = '' Whether the display manager redirects the output of the session script to the systemd journal. ''; @@ -94,7 +94,7 @@ in type = lib.types.bool; default = config.user != null; defaultText = lib.literalExpression "config.${options.user} != null"; - description = lib.mdDoc '' + description = '' Automatically log in as {option}`autoLogin.user`. ''; }; @@ -102,7 +102,7 @@ in user = lib.mkOption { type = with lib.types; nullOr str; default = null; - description = lib.mdDoc '' + description = '' User to be used for the automatic login. ''; }; @@ -110,7 +110,7 @@ in }); default = {}; - description = lib.mdDoc '' + description = '' Auto login configuration attrset. ''; }; @@ -134,7 +134,7 @@ in Taken from display manager settings or window manager settings, if either is set. ''; example = "gnome"; - description = lib.mdDoc '' + description = '' Graphical session to pre-select in the session chooser (only effective for GDM, LightDM and SDDM). On GDM, LightDM and SDDM, it will also be used as a session for auto-login. @@ -142,7 +142,7 @@ in }; sessionData = lib.mkOption { - description = lib.mdDoc "Data exported for display managers’ convenience"; + description = "Data exported for display managers’ convenience"; internal = true; default = {}; }; @@ -163,7 +163,7 @@ in ''; }); default = []; - description = lib.mdDoc '' + description = '' A list of packages containing x11 or wayland session files to be passed to the display manager. ''; }; diff --git a/nixos/modules/services/display-managers/greetd.nix b/nixos/modules/services/display-managers/greetd.nix index f858a7fc8be19..c07b225fc4d95 100644 --- a/nixos/modules/services/display-managers/greetd.nix +++ b/nixos/modules/services/display-managers/greetd.nix @@ -8,7 +8,7 @@ let in { options.services.greetd = { - enable = mkEnableOption (lib.mdDoc "greetd, a minimal and flexible login manager daemon"); + enable = mkEnableOption "greetd, a minimal and flexible login manager daemon"; package = mkPackageOption pkgs [ "greetd" "greetd" ] { }; @@ -21,7 +21,7 @@ in }; } ''; - description = lib.mdDoc '' + description = '' greetd configuration ([documentation](https://man.sr.ht/~kennylevinsen/greetd/)) as a Nix attribute set. ''; @@ -30,7 +30,7 @@ in vt = mkOption { type = types.int; default = 1; - description = lib.mdDoc '' + description = '' The virtual console (tty) that greetd should use. This option also disables getty on that tty. ''; }; @@ -39,7 +39,7 @@ in type = types.bool; default = !(cfg.settings ? initial_session); defaultText = literalExpression "!(config.services.greetd.settings ? initial_session)"; - description = lib.mdDoc '' + description = '' Whether to restart greetd when it terminates (e.g. on failure). This is usually desirable so a user can always log in, but should be disabled when using 'settings.initial_session' (autologin), because every greetd restart will trigger the autologin again. diff --git a/nixos/modules/services/display-managers/sddm.nix b/nixos/modules/services/display-managers/sddm.nix index 16efec04e6194..aaf1f0dcfc65d 100644 --- a/nixos/modules/services/display-managers/sddm.nix +++ b/nixos/modules/services/display-managers/sddm.nix @@ -161,7 +161,7 @@ in enable = mkOption { type = types.bool; default = false; - description = lib.mdDoc '' + description = '' Whether to enable sddm as the display manager. ''; }; @@ -171,7 +171,7 @@ in enableHidpi = mkOption { type = types.bool; default = true; - description = lib.mdDoc '' + description = '' Whether to enable automatic HiDPI mode. ''; }; @@ -185,7 +185,7 @@ in Session = "plasma.desktop"; }; }; - description = lib.mdDoc '' + description = '' Extra settings merged in and overwriting defaults in sddm.conf. ''; }; @@ -193,7 +193,7 @@ in theme = mkOption { type = types.str; default = ""; - description = lib.mdDoc '' + description = '' Greeter theme to use. ''; }; @@ -202,7 +202,7 @@ in type = types.listOf types.package; default = [ ]; defaultText = "[]"; - description = lib.mdDoc '' + description = '' Extra Qt plugins / QML libraries to add to the environment. ''; }; @@ -210,7 +210,7 @@ in autoNumlock = mkOption { type = types.bool; default = false; - description = lib.mdDoc '' + description = '' Enable numlock at login. ''; }; @@ -223,7 +223,7 @@ in xrandr --setprovideroutputsource modesetting NVIDIA-0 xrandr --auto ''; - description = lib.mdDoc '' + description = '' A script to execute when starting the display server. DEPRECATED, please use {option}`services.xserver.displayManager.setupCommands`. ''; @@ -232,7 +232,7 @@ in stopScript = mkOption { type = types.str; default = ""; - description = lib.mdDoc '' + description = '' A script to execute when stopping the display server. ''; }; @@ -242,7 +242,7 @@ in relogin = mkOption { type = types.bool; default = false; - description = lib.mdDoc '' + description = '' If true automatic login will kick in again on session exit (logout), otherwise it will only log in automatically when the display-manager is started. ''; @@ -251,7 +251,7 @@ in minimumUid = mkOption { type = types.ints.u16; default = 1000; - description = lib.mdDoc '' + description = '' Minimum user ID for auto-login user. ''; }; @@ -262,7 +262,7 @@ in enable = mkEnableOption "experimental Wayland support"; compositor = mkOption { - description = lib.mdDoc "The compositor to use: ${lib.concatStringsSep ", " (builtins.attrNames compositorCmds)}"; + description = "The compositor to use: ${lib.concatStringsSep ", " (builtins.attrNames compositorCmds)}"; type = types.enum (builtins.attrNames compositorCmds); default = "weston"; }; @@ -271,7 +271,7 @@ in type = types.str; internal = true; default = compositorCmds.${cfg.wayland.compositor}; - description = lib.mdDoc "Command used to start the selected compositor"; + description = "Command used to start the selected compositor"; }; }; }; |