From 01179f3dc6f711708cae85be4ea4f518471f1044 Mon Sep 17 00:00:00 2001 From: moons Date: Fri, 7 Aug 2026 22:00:03 +0900 Subject: [PATCH] desktop: disable system sleep --- modules/profiles/platform/desktop/nixos.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/profiles/platform/desktop/nixos.nix b/modules/profiles/platform/desktop/nixos.nix index fad5f6c..856b129 100644 --- a/modules/profiles/platform/desktop/nixos.nix +++ b/modules/profiles/platform/desktop/nixos.nix @@ -3,6 +3,7 @@ # every system sleep path; screen blanking while locked is handled by # services.swayidle in the graphical session. systemd.sleep.settings.Sleep = { + AllowSuspend = false; AllowHibernation = false; AllowHybridSleep = false; AllowSuspendThenHibernate = false;