notohh
137a114c16
yazi: disable lua conf & fix keymap tsuki: add hyprsysinfo hypridle: dpms off on timeout hosts: enable wastebin stash: bump version yuki: disable paperless & hydroxide
27 lines
555 B
Nix
27 lines
555 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
config,
|
|
...
|
|
}: {
|
|
services.hypridle = {
|
|
enable = true;
|
|
settings = {
|
|
general = {
|
|
ignore_dbus_inhibit = false;
|
|
lock_cmd = lib.getExe config.programs.hyprlock.package;
|
|
before_sleep_cmd = "${pkgs.systemd}/bin/loginctl lock-session";
|
|
};
|
|
listener = [
|
|
{
|
|
timeout = 400;
|
|
on-timeout = "${lib.getExe config.programs.hyprlock.package}";
|
|
}
|
|
{
|
|
timeout = 460;
|
|
on-timeout = "hyprctl dispatch dpms off";
|
|
}
|
|
];
|
|
};
|
|
};
|
|
}
|