diff --git a/modules/home/hyprland/config.nix b/modules/home/hyprland/config.nix index 08391e4..6ea2b69 100644 --- a/modules/home/hyprland/config.nix +++ b/modules/home/hyprland/config.nix @@ -162,8 +162,6 @@ in { wayland.windowManager.hyprland = lib.mkIf config.wayland.windowManager.hyprland.enable { settings = { exec-once = [ - "${pkgs.dbus}/bin/dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP" - "${pkgs.systemd}/bin/systemctl --user import-environment DISPLAY WAYLAND_DISPLAY XDG_CURRENT_DESKTOP" "${pkgs.wpaperd}/bin/wpaperd &" ]; diff --git a/modules/home/hyprland/hyprland.nix b/modules/home/hyprland/hyprland.nix index 264f43e..4e61ad0 100644 --- a/modules/home/hyprland/hyprland.nix +++ b/modules/home/hyprland/hyprland.nix @@ -1,6 +1,7 @@ {pkgs, ...}: { wayland.windowManager.hyprland = { enable = true; + systemd.enable = false; systemd.variables = ["--all"]; xwayland.enable = true; };