diff --git a/homeManagerModules/services/hypridle/default.nix b/homeManagerModules/services/hypridle/default.nix index c4c35b79..7ff679d2 100644 --- a/homeManagerModules/services/hypridle/default.nix +++ b/homeManagerModules/services/hypridle/default.nix @@ -38,7 +38,7 @@ in { } ++ lib.optional cfg.desktop.autoSuspend { timeout = 600; - command = "systemctl suspend"; + on-timeout = "systemctl suspend"; } ++ lib.optional (!cfg.desktop.autoSuspend) {