Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

programs.prismlauncher.enable

Whether to enable Prism Launcher.

Type: boolean

Default:

false

Example:

true

Declared by:

programs.prismlauncher.package

The prismlauncher package to use.

Type: null or package

Default:

pkgs.prismlauncher

Declared by:

programs.prismlauncher.extraPackages

Additional theme packages to install to the user environment.

Themes can be sourced from https://github.com/PrismLauncher/Themes and should install to $out/share/PrismLauncher/{themes,iconthemes,catpacks}.

Type: list of package

Default:

[ ]

Declared by:

programs.prismlauncher.icons

List of paths to instance icons.

These will be linked in $XDG_DATA_HOME/PrismLauncher/icons on Linux and ~/Library/Application Support/PrismLauncher/icons on macOS.

Type: list of absolute path

Default:

[ ]

Example:

[ ./java.png ]

Declared by:

programs.prismlauncher.settings

Configuration written to prismlauncher.cfg.

Type: attribute set of (INI atom (null, bool, int, float or string))

Default:

{ }

Example:

{
  ConsoleMaxLines = 100000;
  ShowConsole = true;
}

Declared by:

programs.prismlauncher.themes

Prism Launcher widget themes.

Attribute names are used as theme directory names. A theme can either be a path to a complete theme directory, or an attribute set used to generate theme.json and optionally themeStyle.css.

These will be linked in $XDG_DATA_HOME/PrismLauncher/themes on Linux and ~/Library/Application Support/PrismLauncher/themes on macOS.

Type: attribute set of (absolute path or (submodule))

Default:

{ }

Example:

{
  Tokyo-Night = ./Tokyo-Night;

  custom = {
    theme = {
      name = "Custom";
      colors = {
        background = "#1a1b26";
        foreground = "#c0caf5";
      };
    };
    style = ''
      QWidget {
        font-family: "Inter";
      }
    '';
  };
}

Declared by:

programs.prismlauncher.themes.<name>.style

Contents of, or path to, the theme’s themeStyle.css.

Type: null or strings concatenated with “\n” or absolute path

Default:

null

programs.prismlauncher.themes.<name>.theme

Contents of the theme’s theme.json.

Type: JSON value

Default:

{ }