This commit is contained in:
Odweta
2026-01-11 21:12:43 +01:00
parent af6937115f
commit 1a0d960804
+1 -1
View File
@@ -20,7 +20,7 @@
serviceConfig = {
Type = "oneshot";
User = "odweta"; # run as your user
Environment = "XDG_RUNTIME_DIR=/run/user/1000";
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" ];