Split out hypridle home service into its service file.

This commit is contained in:
jay
2025-07-02 05:25:39 -04:00
parent be8db6d454
commit 406b508ab9
2 changed files with 18 additions and 20 deletions

View File

@@ -10,6 +10,7 @@
inputs.hyprpanel.homeManagerModules.hyprpanel
./services/arrpc.nix
./services/fluidsynth.nix
./services/hypridle.nix
];
@@ -280,26 +281,6 @@
};
services = {
hypridle = {
enable = true;
settings = {
general = {
lock_cmd = "pidof hyprlock || hyprlock";
#before_sleep_cmd = "loginctl lock-session";
#after_sleep_cmd = "hyprctl dispatch dpms on";
};
listener = [
{
timeout = 300;
on-timeout = "loginctl lock-session";
}
];
};
};
};
wayland.windowManager.hyprland = {
# Allow home-manager to configure hyprland
enable = true;