services.hypridle.enable
Whether to enable Hypridle, Hyprland’s idle daemon.
Type: boolean
Default:
false
Example:
true
Declared by:
services.hypridle.package
The hypridle package to use.
Type: null or package
Default:
pkgs.hypridle
Declared by:
services.hypridle.importantPrefixes
List of prefix of attributes to source at the top of the config.
Type: list of string
Default:
[
"$"
]
Example:
[
"$"
]
Declared by:
services.hypridle.settings
Hypridle configuration written in Nix. Entries with the same key should be written as lists. Variables’ and colors’ names should be quoted. See https://wiki.hypr.land/Hypr-Ecosystem/hypridle/ for more examples.
Type: Hypridle configuration value
Default:
{ }
Example:
{
general = {
after_sleep_cmd = "hyprctl dispatch dpms on";
ignore_dbus_inhibit = false;
lock_cmd = "hyprlock";
};
listener = [
{
on-timeout = "hyprlock";
timeout = 900;
}
{
on-resume = "hyprctl dispatch dpms on";
on-timeout = "hyprctl dispatch dpms off";
timeout = 1200;
}
];
}
Declared by:
services.hypridle.systemdTarget
Systemd target to bind to.
Type: string
Default:
config.wayland.systemd.target
Example:
"hyprland-session.target"
Declared by: