fix(adguard): use lib.length instead of == for empty check
Nix doesn't support == operator. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
51e937c02f
commit
7bdbe767b6
1 changed files with 1 additions and 1 deletions
|
|
@ -109,7 +109,7 @@ in
|
|||
'') cfg.clients
|
||||
)}
|
||||
'' + ''
|
||||
+ lib.optionalString (cfg.clients == []) ''
|
||||
+ lib.optionalString (lib.length cfg.clients == 0) ''
|
||||
clients:
|
||||
persistent: []
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue