mirror of
https://github.com/nix-community/home-manager
synced 2024-12-05 01:19:46 +01:00
2777de38dd
The systemd user service depends on
config.xdg.configFile."hypr/hyprpaper.conf".source
for `X-Restart-Triggers`. When `cfg.settings` is the default `{}`,
this causes failure since
config.xdg.configFile."hypr/hyprpaper.conf".source
will not exist.
Making the addition conditional on `cfg.settings` actually having
content, which would mean `xdg.configFile."hypr/hyprpaper.conf"` does
exist, avoids the error.
(cherry picked from commit
|
||
---|---|---|
.. | ||
basic-configuration.nix | ||
default.nix | ||
hyprpaper.conf | ||
no-configuration.nix |