From 8e01b9d98ce1113b53127db93601334aa0967add Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Federico=20Dami=C3=A1n=20Schonborn?= Date: Thu, 11 May 2023 21:35:27 -0300 Subject: [PATCH] nixos/budgie: Update description for sessionPath, add example for extraPlugins MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Federico Damián Schonborn --- .../services/x11/desktop-managers/budgie.nix | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/nixos/modules/services/x11/desktop-managers/budgie.nix b/nixos/modules/services/x11/desktop-managers/budgie.nix index 2eff81750d9e..b7341d4d8b49 100644 --- a/nixos/modules/services/x11/desktop-managers/budgie.nix +++ b/nixos/modules/services/x11/desktop-managers/budgie.nix @@ -45,10 +45,15 @@ in { enable = mkEnableOption (mdDoc "the Budgie desktop"); sessionPath = mkOption { - description = mdDoc "Additional list of packages to be added to the session search path. Useful for GSettings-conditional autostart."; - type = with types; listOf package; - example = literalExpression "[ pkgs.budgie.budgie-desktop-view ]"; + description = lib.mdDoc '' + Additional list of packages to be added to the session search path. + Useful for GSettings-conditional autostart. + + Note that this should be a last resort; patching the package is preferred (see GPaste). + ''; + type = types.listOf types.package; default = []; + example = literalExpression "[ pkgs.gnome.gpaste ]"; }; extraGSettingsOverrides = mkOption { @@ -59,20 +64,21 @@ in { extraGSettingsOverridePackages = mkOption { description = mdDoc "List of packages for which GSettings are overridden."; - type = with types; listOf path; + type = types.listOf types.path; default = []; }; extraPlugins = mkOption { description = mdDoc "Extra plugins for the Budgie desktop"; - type = with types; listOf package; + type = types.listOf types.package; default = []; + example = literalExpression "[ pkgs.budgiePlugins.budgie-analogue-clock-applet ]"; }; }; environment.budgie.excludePackages = mkOption { description = mdDoc "Which packages Budgie should exclude from the default environment."; - type = with types; listOf package; + type = types.listOf types.package; default = []; example = literalExpression "[ pkgs.mate-terminal ]"; };