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.sherlock.enable

Enable Sherlock, a fast and lightweight application launcher for Wayland.

See https://github.com/Skxxtz/sherlock for more information.

Type: boolean

Default:

false

Example:

true

Declared by:

programs.sherlock.package

The sherlock package to use.

Type: null or package

Default:

pkgs.sherlock-launcher

Declared by:

programs.sherlock.aliases

Defines custom aliases.

Written to sherlock_alias.json.

See https://github.com/Skxxtz/sherlock/blob/main/docs/aliases.md for more information.

Type: JSON value

Default:

{ }

Example:

{
  "NixOS Wiki" = {
    exec = "firefox https://wiki.nixos.org/w/index.php?search=%s";
    icon = "nixos";
    keywords = "nix wiki docs";
    name = "NixOS Wiki";
  };
}

Declared by:

programs.sherlock.ignore

A list of desktop entry IDs to ignore.

Written to sherlockignore.

See https://github.com/Skxxtz/sherlock/blob/main/docs/sherlockignore.md for more information.

Type: strings concatenated with “\n”

Default:

""

Example:

''
  hicolor-icon-theme.desktop
  user-dirs.desktop
''

Declared by:

programs.sherlock.launchers

Defines fallback launchers.

Written to fallback.json.

See https://github.com/Skxxtz/sherlock/blob/main/docs/launchers.md for more information.

Type: JSON value

Default:

[ ]

Declared by:

programs.sherlock.settings

Configuration for Sherlock.

Written to config.toml.

See https://github.com/Skxxtz/sherlock/blob/main/docs/config.md for available options.

Type: TOML value

Default:

{ }

Example:

{
  max_results = 8;
  theme = "dark";
  width = 500;
}

Declared by:

programs.sherlock.style

Custom CSS to style the Sherlock UI.

Written to main.css.

Type: strings concatenated with “\n”

Default:

""

Example:

''
  window {
    background-color: #2E3440;
  }
''

Declared by:

programs.sherlock.systemd.enable

Whether to enable sherlock as a daemon.

Type: boolean

Default:

false

Example:

true

Declared by: