- Wrap `config.onFailure` in `mkIf cfg.enable` to ensure units are conditionally applied based on the service's `enable` configuration. - Prevents unnecessary configuration of failure units when the service is disabled. |
||
|---|---|---|
| .. | ||
| default.nix | ||
- Wrap `config.onFailure` in `mkIf cfg.enable` to ensure units are conditionally applied based on the service's `enable` configuration. - Prevents unnecessary configuration of failure units when the service is disabled. |
||
|---|---|---|
| .. | ||
| default.nix | ||