mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-23 02:39:40 +01:00
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.
|
||
|---|---|---|
| .. | ||
| integration | ||
| lib | ||
| modules | ||
| asserts.nix | ||
| big-test.nix | ||
| default.nix | ||
| stubs.nix | ||