1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-27 05:29:46 +01:00
home-manager/tests
Sebastián Zavala Villagómez bd58a1132e
hyprpaper: fix service when no config file
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.
2024-11-24 14:05:10 +01:00
..
integration tests: fix integration test 2024-11-22 20:32:42 +01:00
lib senpai: switch to scfg format 2024-03-15 11:42:17 +01:00
modules hyprpaper: fix service when no config file 2024-11-24 14:05:10 +01:00
asserts.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
big-test.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
default.nix emacs: add darwin service 2024-11-23 19:15:47 +01:00
stubs.nix tests: add mkStubPackage in Nixpkgs overlay 2024-03-03 06:56:05 +01:00