From af6937115f42879a2817b6ba4aa97bbb8dedf5fe Mon Sep 17 00:00:00 2001 From: Odweta Date: Sun, 11 Jan 2026 21:09:47 +0100 Subject: [PATCH] lock --- lock-suspend.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/lock-suspend.nix b/lock-suspend.nix index 3e4d970..52bf625 100644 --- a/lock-suspend.nix +++ b/lock-suspend.nix @@ -20,6 +20,7 @@ serviceConfig = { Type = "oneshot"; User = "odweta"; # run as your user + Environment = "XDG_RUNTIME_DIR=/run/user/1000"; ExecStart = "${pkgs.hyprlock}/bin/hyprlock -c /etc/hypr/hyprlock.conf"; }; wantedBy = [ "sleep.target" ];