about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--home/profiles/gui/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/home/profiles/gui/default.nix b/home/profiles/gui/default.nix
index c8bbd7d..2fbb505 100644
--- a/home/profiles/gui/default.nix
+++ b/home/profiles/gui/default.nix
@@ -189,7 +189,7 @@ in
         {
           enable = true;
           events = [
-            { event = "before-sleep"; command = lockCommand; }
+            { event = "before-sleep"; command = "${pkgs.systemd}/bin/loginctl lock-session"; }
             { event = "lock"; command = lockCommand; }
           ];
           timeouts = [