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

services.dunst.enable

Whether to enable the dunst notification daemon.

Type: boolean

Default:

false

Example:

true

Declared by:

services.dunst.package

The dunst package to use.

Type: package

Default:

pkgs.dunst

Declared by:

services.dunst.configFile

Path to the configuration file read by dunst.

Note that the configuration generated by Home Manager will be written to $XDG_CONFIG_HOME/dunst/dunstrc regardless. This allows using a mutable configuration file generated from the immutable one, useful in scenarios where live reloading is desired.

Type: null or string or absolute path

Default:

null

Declared by:

services.dunst.iconTheme

Set the icon theme.

Type: submodule

Default:

{
  name = "hicolor";
  package = <derivation hicolor-icon-theme-0.18>;
  size = "32x32";
}

Declared by:

services.dunst.iconTheme.package

Package providing the theme.

Type: package

Example:

pkgs.adwaita-icon-theme

Declared by:

services.dunst.iconTheme.name

The name of the theme within the package.

Type: string

Example:

"Adwaita"

Declared by:

services.dunst.iconTheme.size

The desired icon size.

Type: string

Default:

"32x32"

Example:

"16x16"

Declared by:

services.dunst.settings

Configuration written to $XDG_CONFIG_HOME/dunst/dunstrc.

Type: DAG of open submodule of attribute set of (string or boolean or signed integer or list of string)

Default:

{ }

Example:

{
  global = {
    width = "(200,300)";
    height = "(0,150)";
    offset = "(30,50)";
    origin = "top-right";
    transparency = 10;
    frame_color = "#eceff1";
    font = "Droid Sans 9";
    icon_path = "/run/current-system/sw/share/icons/hicolor/32x32/status:/run/current-system/sw/share/icons/hicolor/32x32/devices";
  };

  urgency_normal = {
    background = "#37474f";
    foreground = "#eceff1";
    timeout = 10;
  };

  custom-rule = lib.hm.dag.entryAfter [ "global" ] {
    appname = "custom-app";
    timeout = 1;
  };
};

Declared by:

services.dunst.waylandDisplay

Set the service’s WAYLAND_DISPLAY environment variable.

Type: string

Default:

""

Declared by: