From 3914b13d3a28e09083f8d9bfa451147f406b409e Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Thu, 27 Jun 2024 16:05:31 +0200 Subject: [PATCH] physlock: Disable automatic locking (suspend/hibernate) --- system/roles/workstation/programs/physlock.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/system/roles/workstation/programs/physlock.nix b/system/roles/workstation/programs/physlock.nix index ef08482..574ec41 100644 --- a/system/roles/workstation/programs/physlock.nix +++ b/system/roles/workstation/programs/physlock.nix @@ -9,6 +9,13 @@ in { services.physlock = { enable = true; lockMessage = "System is locked..."; + + # Don't auto-lock the system with physlock, I prefer other (gui) lockers + # I only use physlock manually in some circumstances + lockOn = { + suspend = false; + hibernate = false; + }; }; }; }