From b7bf1a970ac9c02cf857e0b329d604b7d1e71daf Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Wed, 27 Nov 2024 07:48:50 -0500 Subject: [PATCH] hypridle: fixed syntax error in suspend timeout --- homeManagerModules/services/hypridle/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {