
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.
4 lines
118 B
Nix
4 lines
118 B
Nix
{
|
|
hypridle-basic-configuration = ./basic-configuration.nix;
|
|
hypridle-no-configuration = ./no-configuration.nix;
|
|
}
|