diff --git a/nix/hm-module.nix b/nix/hm-module.nix index 6809e012..7b2af275 100644 --- a/nix/hm-module.nix +++ b/nix/hm-module.nix @@ -102,8 +102,9 @@ in { xdg.configFile."hypr/hyprland.conf" = { text = (lib.optionalString cfg.systemdIntegration '' - exec-once=${pkgs.dbus}/bin/dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY HYPRLAND_INSTANCE_SIGNATURE XDG_CURRENT_DESKTOP - exec-once=systemctl --user start hyprland-session.target + exec-once=${pkgs.dbus}/bin/dbus-update-activation-environment --systemd \ + DISPLAY WAYLAND_DISPLAY HYPRLAND_INSTANCE_SIGNATURE XDG_CURRENT_DESKTOP && \ + systemctl --user start hyprland-session.target '') + cfg.extraConfig;