1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2024-12-14 11:57:55 +00:00
home-manager/tests/modules/services
Sebastián Zavala Villagómez f3111f62a2
hypridle: fix service when no config file
The systemd user service depends on

  config.xdg.configFile."hypr/hypridle.conf".source

for `X-Restart-Triggers`. When `cfg.settings` is the default `{}`,
this causes failure since

  config.xdg.configFile."hypr/hypridle.conf".source

will not exist.

Making the addition conditional on `cfg.settings` actually having
content, which would mean `xdg.configFile."hypr/hypridle.conf"` does
exist, avoids the error.

(cherry picked from commit 5e2f47c5a5)
2024-11-24 17:43:39 +01:00
..
activitywatch activitywatch: reduce test closure 2024-10-17 15:30:02 +02:00
avizo avizo: don't write a config file if settings are empty 2023-04-19 21:17:56 +02:00
barrier tests: various minor cleanups 2023-05-13 00:09:52 +02:00
blanket blanket: add module 2024-06-22 08:19:17 +02:00
borgmatic borgmatic: fix service permissions 2024-09-15 09:32:04 +02:00
cachix-agent tests: change quoting to match new Nixpkgs behavior 2024-09-08 23:32:19 +02:00
cliphist tests: change quoting to match new Nixpkgs behavior 2024-09-08 23:32:19 +02:00
clipman clipman: add module 2022-12-28 23:02:08 +01:00
comodoro comodoro: add module 2023-06-14 23:43:19 +02:00
conky conky: add module 2024-05-01 00:11:15 +02:00
darkman darkman: allow no configuration 2024-03-26 14:24:49 -06:00
devilspie2 tests: various minor cleanups 2023-05-13 00:09:52 +02:00
dropbox tests: add option test.stubs 2021-09-26 23:26:38 +02:00
emacs tests: change quoting to match new Nixpkgs behavior 2024-09-08 23:32:19 +02:00
espanso espanso: fix test failure 2024-11-22 23:38:29 +01:00
espanso-darwin espanso: remove background process type on Darwin 2024-05-17 09:24:04 +02:00
flameshot tests: various minor cleanups 2023-05-13 00:09:52 +02:00
fluidsynth tests: various minor cleanups 2023-05-13 00:09:52 +02:00
fnott tests: change quoting to match new Nixpkgs behavior 2024-09-08 23:32:19 +02:00
fusuma fusuma: add missing dependencies 2024-03-14 18:08:10 +01:00
git-sync git-sync: fix crash when whitespace in path 2024-11-13 23:03:19 +01:00
git-sync-darwin git-sync: add darwin support 2023-07-24 11:16:09 +02:00
glance glance: add module 2024-06-28 17:24:13 +02:00
gpg-agent gpg-agent: add launchd service agent and sockets 2024-09-13 08:59:29 +02:00
gromit-mpx gromit-mpx: add module 2021-12-11 19:17:59 +01:00
home-manager-auto-upgrade home-manager.autoUpgrade: add module 2022-01-28 23:42:25 +01:00
hypridle hypridle: fix service when no config file 2024-11-24 17:43:39 +01:00
hyprpaper hyprpaper: fix service when no config file 2024-11-24 14:06:48 +01:00
imapnotify tests: change quoting to match new Nixpkgs behavior 2024-09-08 23:32:19 +02:00
imapnotify-darwin imapnotify: move test 2023-07-09 10:53:28 +02:00
kanshi kanshi: add support for output aliases 2024-09-13 10:51:33 +02:00
lieer tests: various minor cleanups 2023-05-13 00:09:52 +02:00
mopidy mopidy: fix formatting 2024-09-15 01:45:42 +02:00
mpd tests: change quoting to match new Nixpkgs behavior 2024-09-08 23:32:19 +02:00
mpd-mpris tests: change quoting to match new Nixpkgs behavior 2024-09-08 23:32:19 +02:00
mpdris2 mpd: use XDG music dir if XDG user dirs are enabled 2022-09-16 13:41:40 +02:00
nix-gc nix-gc: add randomizedDelaySec option 2024-10-25 15:53:42 +02:00
nix-gc-darwin nix-gc: add service 2024-02-05 18:10:00 +01:00
osmscout-server osmscout-server: add module 2023-12-28 09:28:48 +01:00
pantalaimon tests: add option test.stubs 2021-09-26 23:26:38 +02:00
parcellite tests: change quoting to match new Nixpkgs behavior 2024-09-08 23:32:19 +02:00
pass-secret-service pass-secret-service: various improvements 2023-01-31 23:19:09 +01:00
pasystray tests: change quoting to match new Nixpkgs behavior 2024-09-08 23:32:19 +02:00
pbgopy tests: add option test.stubs 2021-09-26 23:26:38 +02:00
picom picom: use getExe instead of hardcoded binary 2023-11-21 08:55:46 +01:00
playerctld playerctld: add module 2021-01-31 12:36:30 +01:00
podman-linux podman: add module 2024-11-01 20:45:06 +01:00
polybar polybar: fix restart trigger 2022-12-04 12:12:32 +01:00
recoll recoll: fix generation of string lists 2023-03-02 20:01:51 +01:00
redshift-gammastep tests: change quoting to match new Nixpkgs behavior 2024-09-08 23:32:19 +02:00
remmina tests: change quoting to match new Nixpkgs behavior 2024-09-08 23:32:19 +02:00
screen-locker screen-locker: Add option to configure x screensaver cycle (#2853) 2022-04-04 23:32:27 -04:00
signaturepdf tests: change quoting to match new Nixpkgs behavior 2024-09-08 23:32:19 +02:00
snixembed snixembed: add module 2024-10-11 00:14:36 +02:00
swayidle swayidle: minor cleanups 2024-09-20 11:45:46 +02:00
swaync swaync: add module 2024-04-30 00:16:28 +02:00
swayosd tests: change quoting to match new Nixpkgs behavior 2024-09-08 23:32:19 +02:00
sxhkd sxhkd: set scope OOMPolicy to continue 2023-10-24 17:48:13 +02:00
syncthing tests: change quoting to match new Nixpkgs behavior 2024-09-08 23:32:19 +02:00
trayer tests: add option test.stubs 2021-09-26 23:26:38 +02:00
trayscale trayscale: add module 2024-09-13 10:59:31 +02:00
twmn twmn: add module 2022-02-04 01:05:04 +01:00
udiskie udiskie: add tests 2022-08-23 20:11:40 +02:00
window-managers river: reduce risk of large rebuilds in test 2024-09-26 22:19:30 +02:00
wlsunset tests: change quoting to match new Nixpkgs behavior 2024-09-08 23:32:19 +02:00
wob wob: add module 2024-01-28 10:46:09 +01:00
xsettingsd xsettingsd: make configurable through module 2021-10-01 01:31:47 +02:00