From bbbfb5d680b1a5160b42fece7a8f304c3b6b8ef8 Mon Sep 17 00:00:00 2001 From: Odweta Date: Sun, 11 Jan 2026 21:20:32 +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 aee2441..61cda35 100644 --- a/lock-suspend.nix +++ b/lock-suspend.nix @@ -19,9 +19,8 @@ before = [ "sleep.target" ]; serviceConfig = { Type = "oneshot"; -# Environment = "XDG_RUNTIME_DIR=/run/user/%U WAYLAND_DISPLAY=wayland-1 DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/%U/bus"; ExecStart = "${pkgs.hyprlock}/bin/hyprlock -c /etc/hypr/hyprlock.conf"; }; - wantedBy = [ "sleep.target" ]; + wantedBy = [ "default.target" "sleep.target" ]; }; }