nix/home/hypridle/default.nix
2024-08-10 13:50:10 +02:00

21 lines
376 B
Nix

{ ... }:
{
services.hypridle = {
enable = true;
settings = {
general = [
{
ignore_dbus_inhibit = false;
}
];
listener = [
{
timeout = 300;
on-timeout = "hyprctl dispatch dpms off";
on-resume = "hyprctl dispatch dpms on";
}
];
};
};
}