Unverified Commit 8e01b9d9 authored by Federico Damián Schonborn's avatar Federico Damián Schonborn
Browse files

nixos/budgie: Update description for sessionPath, add example for extraPlugins

parent 813b23d9
Loading
Loading
Loading
Loading
+12 −6
Original line number Diff line number Diff line
@@ -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 ]";
    };