diff options
Diffstat (limited to 'nixos/modules/services/desktops')
39 files changed, 91 insertions, 91 deletions
diff --git a/nixos/modules/services/desktops/accountsservice.nix b/nixos/modules/services/desktops/accountsservice.nix index af62850acdc17..ae2ecb5ffeb71 100644 --- a/nixos/modules/services/desktops/accountsservice.nix +++ b/nixos/modules/services/desktops/accountsservice.nix @@ -19,7 +19,7 @@ with lib; enable = mkOption { type = types.bool; default = false; - description = lib.mdDoc '' + description = '' Whether to enable AccountsService, a DBus service for accessing the list of user accounts and information attached to those accounts. ''; diff --git a/nixos/modules/services/desktops/ayatana-indicators.nix b/nixos/modules/services/desktops/ayatana-indicators.nix index abc687bbd43dd..613a2f03ea054 100644 --- a/nixos/modules/services/desktops/ayatana-indicators.nix +++ b/nixos/modules/services/desktops/ayatana-indicators.nix @@ -9,15 +9,15 @@ let in { options.services.ayatana-indicators = { - enable = lib.mkEnableOption (lib.mdDoc '' + enable = lib.mkEnableOption '' Ayatana Indicators, a continuation of Canonical's Application Indicators - ''); + ''; packages = lib.mkOption { type = lib.types.listOf lib.types.package; default = [ ]; example = lib.literalExpression "with pkgs; [ ayatana-indicator-messages ]"; - description = lib.mdDoc '' + description = '' List of packages containing Ayatana Indicator services that should be brought up by the SystemD "ayatana-indicators" user target. diff --git a/nixos/modules/services/desktops/bamf.nix b/nixos/modules/services/desktops/bamf.nix index 3e40a7055348f..13de3a44328f4 100644 --- a/nixos/modules/services/desktops/bamf.nix +++ b/nixos/modules/services/desktops/bamf.nix @@ -13,7 +13,7 @@ with lib; options = { services.bamf = { - enable = mkEnableOption (lib.mdDoc "bamf"); + enable = mkEnableOption "bamf"; }; }; diff --git a/nixos/modules/services/desktops/blueman.nix b/nixos/modules/services/desktops/blueman.nix index f09dd91c9af51..28c2daa7191db 100644 --- a/nixos/modules/services/desktops/blueman.nix +++ b/nixos/modules/services/desktops/blueman.nix @@ -9,7 +9,7 @@ in { ###### interface options = { services.blueman = { - enable = mkEnableOption (lib.mdDoc "blueman, a bluetooth manager"); + enable = mkEnableOption "blueman, a bluetooth manager"; }; }; diff --git a/nixos/modules/services/desktops/cpupower-gui.nix b/nixos/modules/services/desktops/cpupower-gui.nix index 47071aebce8d3..f66afc0a3dc17 100644 --- a/nixos/modules/services/desktops/cpupower-gui.nix +++ b/nixos/modules/services/desktops/cpupower-gui.nix @@ -11,7 +11,7 @@ in { type = lib.types.bool; default = false; example = true; - description = lib.mdDoc '' + description = '' Enables dbus/systemd service needed by cpupower-gui. These services are responsible for retrieving and modifying cpu power saving settings. diff --git a/nixos/modules/services/desktops/deepin/app-services.nix b/nixos/modules/services/desktops/deepin/app-services.nix index a6c33af03e959..4702274df3740 100644 --- a/nixos/modules/services/desktops/deepin/app-services.nix +++ b/nixos/modules/services/desktops/deepin/app-services.nix @@ -14,7 +14,7 @@ with lib; services.deepin.app-services = { - enable = mkEnableOption (lib.mdDoc "service collection of DDE applications, including dconfig-center"); + enable = mkEnableOption "service collection of DDE applications, including dconfig-center"; }; diff --git a/nixos/modules/services/desktops/deepin/dde-api.nix b/nixos/modules/services/desktops/deepin/dde-api.nix index ece1599f5cc85..36f9881fc766a 100644 --- a/nixos/modules/services/desktops/deepin/dde-api.nix +++ b/nixos/modules/services/desktops/deepin/dde-api.nix @@ -14,10 +14,10 @@ with lib; services.deepin.dde-api = { - enable = mkEnableOption (lib.mdDoc '' + enable = mkEnableOption '' the DDE API, which provides some dbus interfaces that is used for screen zone detecting, thumbnail generating, and sound playing in Deepin Desktop Environment - ''); + ''; }; diff --git a/nixos/modules/services/desktops/deepin/dde-daemon.nix b/nixos/modules/services/desktops/deepin/dde-daemon.nix index 356d323bcbdf9..ed4cd15bc271d 100644 --- a/nixos/modules/services/desktops/deepin/dde-daemon.nix +++ b/nixos/modules/services/desktops/deepin/dde-daemon.nix @@ -14,7 +14,7 @@ with lib; services.deepin.dde-daemon = { - enable = mkEnableOption (lib.mdDoc "daemon for handling the deepin session settings"); + enable = mkEnableOption "daemon for handling the deepin session settings"; }; diff --git a/nixos/modules/services/desktops/dleyna-renderer.nix b/nixos/modules/services/desktops/dleyna-renderer.nix index daf65180b36fb..7f88605f627c1 100644 --- a/nixos/modules/services/desktops/dleyna-renderer.nix +++ b/nixos/modules/services/desktops/dleyna-renderer.nix @@ -10,7 +10,7 @@ with lib; enable = mkOption { type = types.bool; default = false; - description = lib.mdDoc '' + description = '' Whether to enable dleyna-renderer service, a DBus service for handling DLNA renderers. ''; diff --git a/nixos/modules/services/desktops/dleyna-server.nix b/nixos/modules/services/desktops/dleyna-server.nix index 9cbcd2a9cdaee..9a131a5e700f2 100644 --- a/nixos/modules/services/desktops/dleyna-server.nix +++ b/nixos/modules/services/desktops/dleyna-server.nix @@ -10,7 +10,7 @@ with lib; enable = mkOption { type = types.bool; default = false; - description = lib.mdDoc '' + description = '' Whether to enable dleyna-server service, a DBus service for handling DLNA servers. ''; diff --git a/nixos/modules/services/desktops/espanso.nix b/nixos/modules/services/desktops/espanso.nix index cbc48034795e8..4ef6724dda0a0 100644 --- a/nixos/modules/services/desktops/espanso.nix +++ b/nixos/modules/services/desktops/espanso.nix @@ -6,7 +6,7 @@ in { meta = { maintainers = with lib.maintainers; [ numkem ]; }; options = { - services.espanso = { enable = options.mkEnableOption (lib.mdDoc "Espanso"); }; + services.espanso = { enable = options.mkEnableOption "Espanso"; }; }; config = mkIf cfg.enable { diff --git a/nixos/modules/services/desktops/flatpak.nix b/nixos/modules/services/desktops/flatpak.nix index 62ef38a3d5548..cda0a17d04758 100644 --- a/nixos/modules/services/desktops/flatpak.nix +++ b/nixos/modules/services/desktops/flatpak.nix @@ -14,7 +14,7 @@ in { ###### interface options = { services.flatpak = { - enable = mkEnableOption (lib.mdDoc "flatpak"); + enable = mkEnableOption "flatpak"; }; }; diff --git a/nixos/modules/services/desktops/geoclue2.nix b/nixos/modules/services/desktops/geoclue2.nix index 2a68bb0b55f3a..72a26933b2227 100644 --- a/nixos/modules/services/desktops/geoclue2.nix +++ b/nixos/modules/services/desktops/geoclue2.nix @@ -16,19 +16,19 @@ let options = { desktopID = mkOption { type = types.str; - description = lib.mdDoc "Desktop ID of the application."; + description = "Desktop ID of the application."; }; isAllowed = mkOption { type = types.bool; - description = lib.mdDoc '' + description = '' Whether the application will be allowed access to location information. ''; }; isSystem = mkOption { type = types.bool; - description = lib.mdDoc '' + description = '' Whether the application is a system component or not. ''; }; @@ -36,7 +36,7 @@ let users = mkOption { type = types.listOf types.str; default = []; - description = lib.mdDoc '' + description = '' List of UIDs of all users for which this application is allowed location info access, Defaults to an empty string to allow it for all users. ''; @@ -67,7 +67,7 @@ in enable = mkOption { type = types.bool; default = false; - description = lib.mdDoc '' + description = '' Whether to enable GeoClue 2 daemon, a DBus service that provides location information for accessing. ''; @@ -76,7 +76,7 @@ in enableDemoAgent = mkOption { type = types.bool; default = true; - description = lib.mdDoc '' + description = '' Whether to use the GeoClue demo agent. This should be overridden by desktop environments that provide their own agent. @@ -86,7 +86,7 @@ in enableNmea = mkOption { type = types.bool; default = true; - description = lib.mdDoc '' + description = '' Whether to fetch location from NMEA sources on local network. ''; }; @@ -94,7 +94,7 @@ in enable3G = mkOption { type = types.bool; default = true; - description = lib.mdDoc '' + description = '' Whether to enable 3G source. ''; }; @@ -102,7 +102,7 @@ in enableCDMA = mkOption { type = types.bool; default = true; - description = lib.mdDoc '' + description = '' Whether to enable CDMA source. ''; }; @@ -110,7 +110,7 @@ in enableModemGPS = mkOption { type = types.bool; default = true; - description = lib.mdDoc '' + description = '' Whether to enable Modem-GPS source. ''; }; @@ -118,7 +118,7 @@ in enableWifi = mkOption { type = types.bool; default = true; - description = lib.mdDoc '' + description = '' Whether to enable WiFi source. ''; }; @@ -127,7 +127,7 @@ in type = types.str; default = "https://location.services.mozilla.com/v1/geolocate?key=geoclue"; example = "https://www.googleapis.com/geolocation/v1/geolocate?key=YOUR_KEY"; - description = lib.mdDoc '' + description = '' The url to the wifi GeoLocation Service. ''; }; @@ -135,7 +135,7 @@ in submitData = mkOption { type = types.bool; default = false; - description = lib.mdDoc '' + description = '' Whether to submit data to a GeoLocation Service. ''; }; @@ -143,7 +143,7 @@ in submissionUrl = mkOption { type = types.str; default = "https://location.services.mozilla.com/v1/submit?key=geoclue"; - description = lib.mdDoc '' + description = '' The url to submit data to a GeoLocation Service. ''; }; @@ -151,7 +151,7 @@ in submissionNick = mkOption { type = types.str; default = "geoclue"; - description = lib.mdDoc '' + description = '' A nickname to submit network data with. Must be 2-32 characters long. ''; @@ -167,7 +167,7 @@ in users = [ "300" ]; }; ''; - description = lib.mdDoc '' + description = '' Specify extra settings per application. ''; }; diff --git a/nixos/modules/services/desktops/gnome/at-spi2-core.nix b/nixos/modules/services/desktops/gnome/at-spi2-core.nix index d0320c1e6307a..446f363fce83f 100644 --- a/nixos/modules/services/desktops/gnome/at-spi2-core.nix +++ b/nixos/modules/services/desktops/gnome/at-spi2-core.nix @@ -27,7 +27,7 @@ with lib; enable = mkOption { type = types.bool; default = false; - description = lib.mdDoc '' + description = '' Whether to enable at-spi2-core, a service for the Assistive Technologies available on the GNOME platform. diff --git a/nixos/modules/services/desktops/gnome/evolution-data-server.nix b/nixos/modules/services/desktops/gnome/evolution-data-server.nix index a8db7dce8fdf2..34a91170d424f 100644 --- a/nixos/modules/services/desktops/gnome/evolution-data-server.nix +++ b/nixos/modules/services/desktops/gnome/evolution-data-server.nix @@ -27,20 +27,20 @@ with lib; options = { services.gnome.evolution-data-server = { - enable = mkEnableOption (lib.mdDoc "Evolution Data Server, a collection of services for storing addressbooks and calendars"); + enable = mkEnableOption "Evolution Data Server, a collection of services for storing addressbooks and calendars"; plugins = mkOption { type = types.listOf types.package; default = [ ]; - description = lib.mdDoc "Plugins for Evolution Data Server."; + description = "Plugins for Evolution Data Server."; }; }; programs.evolution = { - enable = mkEnableOption (lib.mdDoc "Evolution, a Personal information management application that provides integrated mail, calendaring and address book functionality"); + enable = mkEnableOption "Evolution, a Personal information management application that provides integrated mail, calendaring and address book functionality"; plugins = mkOption { type = types.listOf types.package; default = [ ]; example = literalExpression "[ pkgs.evolution-ews ]"; - description = lib.mdDoc "Plugins for Evolution."; + description = "Plugins for Evolution."; }; }; diff --git a/nixos/modules/services/desktops/gnome/glib-networking.nix b/nixos/modules/services/desktops/gnome/glib-networking.nix index 6b54f46f0cf57..1039605391ab6 100644 --- a/nixos/modules/services/desktops/gnome/glib-networking.nix +++ b/nixos/modules/services/desktops/gnome/glib-networking.nix @@ -24,7 +24,7 @@ with lib; services.gnome.glib-networking = { - enable = mkEnableOption (lib.mdDoc "network extensions for GLib"); + enable = mkEnableOption "network extensions for GLib"; }; diff --git a/nixos/modules/services/desktops/gnome/gnome-browser-connector.nix b/nixos/modules/services/desktops/gnome/gnome-browser-connector.nix index 4f680eabbe15c..34fc24f7d5746 100644 --- a/nixos/modules/services/desktops/gnome/gnome-browser-connector.nix +++ b/nixos/modules/services/desktops/gnome/gnome-browser-connector.nix @@ -1,7 +1,7 @@ { config, lib, pkgs, ... }: let - inherit (lib) mdDoc mkEnableOption mkIf mkRenamedOptionModule teams; + inherit (lib) mkEnableOption mkIf mkRenamedOptionModule teams; in { @@ -23,10 +23,10 @@ in ]; options = { - services.gnome.gnome-browser-connector.enable = mkEnableOption (mdDoc '' + services.gnome.gnome-browser-connector.enable = mkEnableOption '' native host connector for the GNOME Shell browser extension, a DBus service allowing to install GNOME Shell extensions from a web browser - ''); + ''; }; config = mkIf config.services.gnome.gnome-browser-connector.enable { diff --git a/nixos/modules/services/desktops/gnome/gnome-initial-setup.nix b/nixos/modules/services/desktops/gnome/gnome-initial-setup.nix index 6eaf861e49743..ceda49337472f 100644 --- a/nixos/modules/services/desktops/gnome/gnome-initial-setup.nix +++ b/nixos/modules/services/desktops/gnome/gnome-initial-setup.nix @@ -62,7 +62,7 @@ in services.gnome.gnome-initial-setup = { - enable = mkEnableOption (lib.mdDoc "GNOME Initial Setup, a Simple, easy, and safe way to prepare a new system"); + enable = mkEnableOption "GNOME Initial Setup, a Simple, easy, and safe way to prepare a new system"; }; diff --git a/nixos/modules/services/desktops/gnome/gnome-keyring.nix b/nixos/modules/services/desktops/gnome/gnome-keyring.nix index 6c7e713b32d56..d821da164beb1 100644 --- a/nixos/modules/services/desktops/gnome/gnome-keyring.nix +++ b/nixos/modules/services/desktops/gnome/gnome-keyring.nix @@ -27,7 +27,7 @@ with lib; enable = mkOption { type = types.bool; default = false; - description = lib.mdDoc '' + description = '' Whether to enable GNOME Keyring daemon, a service designed to take care of the user's security credentials, such as user names and passwords. diff --git a/nixos/modules/services/desktops/gnome/gnome-online-accounts.nix b/nixos/modules/services/desktops/gnome/gnome-online-accounts.nix index ed5e000cae3e6..01f7e3695cf04 100644 --- a/nixos/modules/services/desktops/gnome/gnome-online-accounts.nix +++ b/nixos/modules/services/desktops/gnome/gnome-online-accounts.nix @@ -27,7 +27,7 @@ with lib; enable = mkOption { type = types.bool; default = false; - description = lib.mdDoc '' + description = '' Whether to enable GNOME Online Accounts daemon, a service that provides a single sign-on framework for the GNOME desktop. ''; diff --git a/nixos/modules/services/desktops/gnome/gnome-online-miners.nix b/nixos/modules/services/desktops/gnome/gnome-online-miners.nix index 7cf1bfa1b046b..5f9039f68c4ee 100644 --- a/nixos/modules/services/desktops/gnome/gnome-online-miners.nix +++ b/nixos/modules/services/desktops/gnome/gnome-online-miners.nix @@ -27,7 +27,7 @@ with lib; enable = mkOption { type = types.bool; default = false; - description = lib.mdDoc '' + description = '' Whether to enable GNOME Online Miners, a service that crawls through your online content. ''; diff --git a/nixos/modules/services/desktops/gnome/gnome-remote-desktop.nix b/nixos/modules/services/desktops/gnome/gnome-remote-desktop.nix index 0a5b67eb27223..b5573d2fc21bc 100644 --- a/nixos/modules/services/desktops/gnome/gnome-remote-desktop.nix +++ b/nixos/modules/services/desktops/gnome/gnome-remote-desktop.nix @@ -19,7 +19,7 @@ with lib; ###### interface options = { services.gnome.gnome-remote-desktop = { - enable = mkEnableOption (lib.mdDoc "Remote Desktop support using Pipewire"); + enable = mkEnableOption "Remote Desktop support using Pipewire"; }; }; diff --git a/nixos/modules/services/desktops/gnome/gnome-settings-daemon.nix b/nixos/modules/services/desktops/gnome/gnome-settings-daemon.nix index ca739b06a5a54..9c68c9b76e9ee 100644 --- a/nixos/modules/services/desktops/gnome/gnome-settings-daemon.nix +++ b/nixos/modules/services/desktops/gnome/gnome-settings-daemon.nix @@ -34,7 +34,7 @@ in services.gnome.gnome-settings-daemon = { - enable = mkEnableOption (lib.mdDoc "GNOME Settings Daemon"); + enable = mkEnableOption "GNOME Settings Daemon"; }; diff --git a/nixos/modules/services/desktops/gnome/gnome-user-share.nix b/nixos/modules/services/desktops/gnome/gnome-user-share.nix index 0c88d13b343db..38256af309cc5 100644 --- a/nixos/modules/services/desktops/gnome/gnome-user-share.nix +++ b/nixos/modules/services/desktops/gnome/gnome-user-share.nix @@ -24,7 +24,7 @@ with lib; services.gnome.gnome-user-share = { - enable = mkEnableOption (lib.mdDoc "GNOME User Share, a user-level file sharing service for GNOME"); + enable = mkEnableOption "GNOME User Share, a user-level file sharing service for GNOME"; }; diff --git a/nixos/modules/services/desktops/gnome/rygel.nix b/nixos/modules/services/desktops/gnome/rygel.nix index 9c0faaa4885be..8932d438cf1ec 100644 --- a/nixos/modules/services/desktops/gnome/rygel.nix +++ b/nixos/modules/services/desktops/gnome/rygel.nix @@ -21,7 +21,7 @@ with lib; services.gnome.rygel = { enable = mkOption { default = false; - description = lib.mdDoc '' + description = '' Whether to enable Rygel UPnP Mediaserver. You will need to also allow UPnP connections in firewall, see the following [comment](https://github.com/NixOS/nixpkgs/pull/45045#issuecomment-416030795). diff --git a/nixos/modules/services/desktops/gnome/sushi.nix b/nixos/modules/services/desktops/gnome/sushi.nix index 446851f434d8a..3133a3a0d9854 100644 --- a/nixos/modules/services/desktops/gnome/sushi.nix +++ b/nixos/modules/services/desktops/gnome/sushi.nix @@ -27,7 +27,7 @@ with lib; enable = mkOption { type = types.bool; default = false; - description = lib.mdDoc '' + description = '' Whether to enable Sushi, a quick previewer for nautilus. ''; }; diff --git a/nixos/modules/services/desktops/gnome/tracker-miners.nix b/nixos/modules/services/desktops/gnome/tracker-miners.nix index a3c58f3742082..9351007d30b5d 100644 --- a/nixos/modules/services/desktops/gnome/tracker-miners.nix +++ b/nixos/modules/services/desktops/gnome/tracker-miners.nix @@ -27,7 +27,7 @@ with lib; enable = mkOption { type = types.bool; default = false; - description = lib.mdDoc '' + description = '' Whether to enable Tracker miners, indexing services for Tracker search engine and metadata storage system. ''; diff --git a/nixos/modules/services/desktops/gnome/tracker.nix b/nixos/modules/services/desktops/gnome/tracker.nix index e6404c84a26f7..fef399d0112e4 100644 --- a/nixos/modules/services/desktops/gnome/tracker.nix +++ b/nixos/modules/services/desktops/gnome/tracker.nix @@ -30,7 +30,7 @@ in enable = mkOption { type = types.bool; default = false; - description = lib.mdDoc '' + description = '' Whether to enable Tracker services, a search engine, search tool and metadata storage system. ''; @@ -40,7 +40,7 @@ in type = types.listOf types.package; default = [ ]; internal = true; - description = lib.mdDoc '' + description = '' List of packages containing tracker3 subcommands. ''; }; diff --git a/nixos/modules/services/desktops/gsignond.nix b/nixos/modules/services/desktops/gsignond.nix index cf80fd75452bf..465acd73fa64d 100644 --- a/nixos/modules/services/desktops/gsignond.nix +++ b/nixos/modules/services/desktops/gsignond.nix @@ -20,7 +20,7 @@ in enable = mkOption { type = types.bool; default = false; - description = lib.mdDoc '' + description = '' Whether to enable gSignOn daemon, a DBus service which performs user authentication on behalf of its clients. ''; @@ -29,7 +29,7 @@ in plugins = mkOption { type = types.listOf types.package; default = []; - description = lib.mdDoc '' + description = '' What plugins to use with the gSignOn daemon. ''; }; diff --git a/nixos/modules/services/desktops/gvfs.nix b/nixos/modules/services/desktops/gvfs.nix index a4770d703f545..09ac06d9f6fe0 100644 --- a/nixos/modules/services/desktops/gvfs.nix +++ b/nixos/modules/services/desktops/gvfs.nix @@ -29,7 +29,7 @@ in services.gvfs = { - enable = mkEnableOption (lib.mdDoc "GVfs, a userspace virtual filesystem"); + enable = mkEnableOption "GVfs, a userspace virtual filesystem"; # gvfs can be built with multiple configurations package = mkPackageOption pkgs [ "gnome" "gvfs" ] { }; diff --git a/nixos/modules/services/desktops/malcontent.nix b/nixos/modules/services/desktops/malcontent.nix index 27b4577f4c2a5..1fbeb17e6aeb4 100644 --- a/nixos/modules/services/desktops/malcontent.nix +++ b/nixos/modules/services/desktops/malcontent.nix @@ -12,7 +12,7 @@ with lib; services.malcontent = { - enable = mkEnableOption (lib.mdDoc "Malcontent, parental control support for applications"); + enable = mkEnableOption "Malcontent, parental control support for applications"; }; diff --git a/nixos/modules/services/desktops/neard.nix b/nixos/modules/services/desktops/neard.nix index 846297dfc1ad2..5459d2e5a1e55 100644 --- a/nixos/modules/services/desktops/neard.nix +++ b/nixos/modules/services/desktops/neard.nix @@ -7,7 +7,7 @@ with lib; ###### interface options = { services.neard = { - enable = mkEnableOption (lib.mdDoc "neard, an NFC daemon"); + enable = mkEnableOption "neard, an NFC daemon"; }; }; diff --git a/nixos/modules/services/desktops/profile-sync-daemon.nix b/nixos/modules/services/desktops/profile-sync-daemon.nix index e307c67350044..6206295272fc5 100644 --- a/nixos/modules/services/desktops/profile-sync-daemon.nix +++ b/nixos/modules/services/desktops/profile-sync-daemon.nix @@ -9,7 +9,7 @@ in { enable = mkOption { type = bool; default = false; - description = lib.mdDoc '' + description = '' Whether to enable the Profile Sync daemon. ''; }; @@ -17,7 +17,7 @@ in { type = str; default = "1h"; example = "1h 30min"; - description = lib.mdDoc '' + description = '' The amount of time to wait before syncing browser profiles back to the disk. diff --git a/nixos/modules/services/desktops/seatd.nix b/nixos/modules/services/desktops/seatd.nix index 51977dfd2153a..fb20750f04291 100644 --- a/nixos/modules/services/desktops/seatd.nix +++ b/nixos/modules/services/desktops/seatd.nix @@ -2,28 +2,28 @@ let cfg = config.services.seatd; - inherit (lib) mkEnableOption mkOption mdDoc types; + inherit (lib) mkEnableOption mkOption types; in { meta.maintainers = with lib.maintainers; [ sinanmohd ]; options.services.seatd = { - enable = mkEnableOption (mdDoc "seatd"); + enable = mkEnableOption "seatd"; user = mkOption { type = types.str; default = "root"; - description = mdDoc "User to own the seatd socket"; + description = "User to own the seatd socket"; }; group = mkOption { type = types.str; default = "seat"; - description = mdDoc "Group to own the seatd socket"; + description = "Group to own the seatd socket"; }; logLevel = mkOption { type = types.enum [ "debug" "info" "error" "silent" ]; default = "info"; - description = mdDoc "Logging verbosity"; + description = "Logging verbosity"; }; }; diff --git a/nixos/modules/services/desktops/system-config-printer.nix b/nixos/modules/services/desktops/system-config-printer.nix index caebfabf146ca..55f27b0e65340 100644 --- a/nixos/modules/services/desktops/system-config-printer.nix +++ b/nixos/modules/services/desktops/system-config-printer.nix @@ -10,7 +10,7 @@ with lib; services.system-config-printer = { - enable = mkEnableOption (lib.mdDoc "system-config-printer, a service for CUPS administration used by printing interfaces"); + enable = mkEnableOption "system-config-printer, a service for CUPS administration used by printing interfaces"; }; diff --git a/nixos/modules/services/desktops/system76-scheduler.nix b/nixos/modules/services/desktops/system76-scheduler.nix index 267b528cc5dd3..b021ae6bfbfa9 100644 --- a/nixos/modules/services/desktops/system76-scheduler.nix +++ b/nixos/modules/services/desktops/system76-scheduler.nix @@ -4,7 +4,7 @@ let cfg = config.services.system76-scheduler; inherit (builtins) concatStringsSep map toString attrNames; - inherit (lib) boolToString types mkOption literalExpression mdDoc optional mkIf mkMerge; + inherit (lib) boolToString types mkOption literalExpression optional mkIf mkMerge; inherit (types) nullOr listOf bool int ints float str enum; withDefaults = optionSpecs: defaults: @@ -16,49 +16,49 @@ let latencyProfile = withDefaults { latency = { type = int; - description = mdDoc "`sched_latency_ns`."; + description = "`sched_latency_ns`."; }; nr-latency = { type = int; - description = mdDoc "`sched_nr_latency`."; + description = "`sched_nr_latency`."; }; wakeup-granularity = { type = float; - description = mdDoc "`sched_wakeup_granularity_ns`."; + description = "`sched_wakeup_granularity_ns`."; }; bandwidth-size = { type = int; - description = mdDoc "`sched_cfs_bandwidth_slice_us`."; + description = "`sched_cfs_bandwidth_slice_us`."; }; preempt = { type = enum [ "none" "voluntary" "full" ]; - description = mdDoc "Preemption mode."; + description = "Preemption mode."; }; }; schedulerProfile = withDefaults { nice = { type = nullOr (ints.between (-20) 19); - description = mdDoc "Niceness."; + description = "Niceness."; }; class = { type = nullOr (enum [ "idle" "batch" "other" "rr" "fifo" ]); example = literalExpression "\"batch\""; - description = mdDoc "CPU scheduler class."; + description = "CPU scheduler class."; }; prio = { type = nullOr (ints.between 1 99); example = literalExpression "49"; - description = mdDoc "CPU scheduler priority."; + description = "CPU scheduler priority."; }; ioClass = { type = nullOr (enum [ "idle" "best-effort" "realtime" ]); example = literalExpression "\"best-effort\""; - description = mdDoc "IO scheduler class."; + description = "IO scheduler class."; }; ioPrio = { type = nullOr (ints.between 0 7); example = literalExpression "4"; - description = mdDoc "IO scheduler priority."; + description = "IO scheduler priority."; }; matchers = { type = nullOr (listOf str); @@ -69,7 +69,7 @@ let "emacs" ] ''; - description = mdDoc "Process matchers."; + description = "Process matchers."; }; }; @@ -91,19 +91,19 @@ let in { options = { services.system76-scheduler = { - enable = lib.mkEnableOption (lib.mdDoc "system76-scheduler"); + enable = lib.mkEnableOption "system76-scheduler"; package = mkOption { type = types.package; default = config.boot.kernelPackages.system76-scheduler; defaultText = literalExpression "config.boot.kernelPackages.system76-scheduler"; - description = mdDoc "Which System76-Scheduler package to use."; + description = "Which System76-Scheduler package to use."; }; useStockConfig = mkOption { type = bool; default = true; - description = mdDoc '' + description = '' Use the (reasonable and featureful) stock configuration. When this option is `true`, `services.system76-scheduler.settings` @@ -116,7 +116,7 @@ in { enable = mkOption { type = bool; default = true; - description = mdDoc "Tweak CFS latency parameters when going on/off battery"; + description = "Tweak CFS latency parameters when going on/off battery"; }; default = latencyProfile { @@ -139,26 +139,26 @@ in { enable = mkOption { type = bool; default = true; - description = mdDoc "Tweak scheduling of individual processes in real time."; + description = "Tweak scheduling of individual processes in real time."; }; useExecsnoop = mkOption { type = bool; default = true; - description = mdDoc "Use execsnoop (otherwise poll the precess list periodically)."; + description = "Use execsnoop (otherwise poll the precess list periodically)."; }; refreshInterval = mkOption { type = int; default = 60; - description = mdDoc "Process list poll interval, in seconds"; + description = "Process list poll interval, in seconds"; }; foregroundBoost = { enable = mkOption { type = bool; default = true; - description = mdDoc '' + description = '' Boost foreground process priorities. (And de-boost background ones). Note that this option needs cooperation @@ -181,7 +181,7 @@ in { enable = mkOption { type = bool; default = true; - description = mdDoc "Boost Pipewire client priorities."; + description = "Boost Pipewire client priorities."; }; profile = schedulerProfile { nice = -6; @@ -209,7 +209,7 @@ in { }; } ''; - description = mdDoc "Process profile assignments."; + description = "Process profile assignments."; }; exceptions = mkOption { @@ -221,7 +221,7 @@ in { "schedtool" ] ''; - description = mdDoc "Processes that are left alone."; + description = "Processes that are left alone."; }; }; }; diff --git a/nixos/modules/services/desktops/telepathy.nix b/nixos/modules/services/desktops/telepathy.nix index cdc6eb26de7ef..b5f6a5fcbcfdd 100644 --- a/nixos/modules/services/desktops/telepathy.nix +++ b/nixos/modules/services/desktops/telepathy.nix @@ -19,7 +19,7 @@ with lib; enable = mkOption { type = types.bool; default = false; - description = lib.mdDoc '' + description = '' Whether to enable Telepathy service, a communications framework that enables real-time communication via pluggable protocol backends. ''; diff --git a/nixos/modules/services/desktops/tumbler.nix b/nixos/modules/services/desktops/tumbler.nix index 203071ec660dd..f5341df2f7a4f 100644 --- a/nixos/modules/services/desktops/tumbler.nix +++ b/nixos/modules/services/desktops/tumbler.nix @@ -28,7 +28,7 @@ in services.tumbler = { - enable = mkEnableOption (lib.mdDoc "Tumbler, A D-Bus thumbnailer service"); + enable = mkEnableOption "Tumbler, A D-Bus thumbnailer service"; }; diff --git a/nixos/modules/services/desktops/zeitgeist.nix b/nixos/modules/services/desktops/zeitgeist.nix index caa2835316b03..f170e90a2a417 100644 --- a/nixos/modules/services/desktops/zeitgeist.nix +++ b/nixos/modules/services/desktops/zeitgeist.nix @@ -14,7 +14,7 @@ with lib; options = { services.zeitgeist = { - enable = mkEnableOption (lib.mdDoc "zeitgeist, a service which logs the users' activities and events"); + enable = mkEnableOption "zeitgeist, a service which logs the users' activities and events"; }; }; |