Home Gen474 @ 2025-03-18-19:50

This commit is contained in:
Jonas Röger 2025-03-18 19:50:32 +01:00
parent 9c8e355a48
commit 2de895e86e
2 changed files with 1 additions and 2 deletions

View File

@ -162,8 +162,6 @@ in {
wayland.windowManager.hyprland = lib.mkIf config.wayland.windowManager.hyprland.enable { wayland.windowManager.hyprland = lib.mkIf config.wayland.windowManager.hyprland.enable {
settings = { settings = {
exec-once = [ 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 &" "${pkgs.wpaperd}/bin/wpaperd &"
]; ];

View File

@ -1,6 +1,7 @@
{pkgs, ...}: { {pkgs, ...}: {
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {
enable = true; enable = true;
systemd.enable = false;
systemd.variables = ["--all"]; systemd.variables = ["--all"];
xwayland.enable = true; xwayland.enable = true;
}; };