Nix HM: Fix invalid escapes

Fixes #949
This commit is contained in:
Mihai Fufezan 2022-11-03 13:21:49 +02:00
parent c47581fc5a
commit f978368a4e
No known key found for this signature in database
GPG key ID: 5899325F2F120900

View file

@ -102,9 +102,7 @@ in {
xdg.configFile."hypr/hyprland.conf" = { xdg.configFile."hypr/hyprland.conf" = {
text = text =
(lib.optionalString cfg.systemdIntegration '' (lib.optionalString cfg.systemdIntegration ''
exec-once=${pkgs.dbus}/bin/dbus-update-activation-environment --systemd \ 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
DISPLAY WAYLAND_DISPLAY HYPRLAND_INSTANCE_SIGNATURE XDG_CURRENT_DESKTOP && \
systemctl --user start hyprland-session.target
'') '')
+ cfg.extraConfig; + cfg.extraConfig;