Files
nixos/hyprland/hypr/hypridle.nix

23 lines
287 B
Nix
Raw Permalink Normal View History

2026-04-08 14:33:45 +02:00
{
services.hypridle = {
enable = true;
settings = {
general = {
inhibit_sleep = 3;
};
listener = [
{
timeout = 300;
on-timeout = "pidof hyprlock || hyprlock";
}
{
timeout = 900;
on-timeout = "systemctl suspend";
}
];
};
};
}