From 42125834a47328765d434c1eef40c601e9a2de52 Mon Sep 17 00:00:00 2001 From: Tigor Hutasuhut Date: Sun, 20 Oct 2024 17:20:45 +0700 Subject: [PATCH] hyprland: fix random dbus session address --- home/modules/hyprland/hyprland.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/home/modules/hyprland/hyprland.nix b/home/modules/hyprland/hyprland.nix index bac4bb9..05c6e04 100644 --- a/home/modules/hyprland/hyprland.nix +++ b/home/modules/hyprland/hyprland.nix @@ -14,6 +14,9 @@ in enable = true; systemd.variables = [ "all" ]; settings = { + env = [ + "DBUS_SESSION_BUS_ADDRESS,unix:path=/run/user/${toString config.profile.user.uid}/bus" + ]; exec-once = lib.mkOrder 5 [ ''${pkgs.dbus}/bin/dbus-update-activation-environment --all'' ];