From 2869a55e5d55048d38f1a205bb49b052163334f8 Mon Sep 17 00:00:00 2001 From: Odweta Date: Sun, 11 Jan 2026 20:55:06 +0100 Subject: [PATCH] lock --- lock-suspend.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lock-suspend.nix b/lock-suspend.nix index 5b7cb63..3e1c606 100644 --- a/lock-suspend.nix +++ b/lock-suspend.nix @@ -18,8 +18,7 @@ description = "Lock screen before suspend"; serviceConfig = { Type = "oneshot"; - # Run as your user - ExecStart = "${pkgs.hyprlock}/bin/hyprlock"; + ExecStart = "/run/current-system/sw/bin/hyprlock"; }; wantedBy = [ "sleep.target" ]; };