about summary refs log tree commit diff
path: root/home/profiles
diff options
context:
space:
mode:
Diffstat (limited to 'home/profiles')
-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 = [