diff --git a/lock-suspend.nix b/lock-suspend.nix index 82ae197..e655fe7 100644 --- a/lock-suspend.nix +++ b/lock-suspend.nix @@ -14,7 +14,7 @@ ''; }; - systemd.services.hyprlock-pre-suspend = { + systemd.user.services.hyprlock-pre-suspend = { description = "Lock screen before suspend"; serviceConfig = { Type = "oneshot";