mirror of
https://github.com/nix-community/home-manager
synced 2024-12-27 04:09:47 +01:00
bd58a1132e
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.
4 lines
120 B
Nix
4 lines
120 B
Nix
{
|
|
hyprpaper-basic-configuration = ./basic-configuration.nix;
|
|
hyprpaper-no-configuration = ./no-configuration.nix;
|
|
}
|