fix(adguard): fix template string concatenation
Properly concatenate optionalString with content. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
294b556542
commit
ce152ba2b3
1 changed files with 4 additions and 2 deletions
|
|
@ -97,8 +97,8 @@ in
|
||||||
querylog_enabled: true
|
querylog_enabled: true
|
||||||
querylog_file_enabled: true
|
querylog_file_enabled: true
|
||||||
statistics_enabled: true
|
statistics_enabled: true
|
||||||
|
''
|
||||||
${lib.optionalString (cfg.clients != []) ''
|
+ lib.optionalString (cfg.clients != []) ''
|
||||||
clients:
|
clients:
|
||||||
persistent:
|
persistent:
|
||||||
${lib.concatStringsSep "\n " (
|
${lib.concatStringsSep "\n " (
|
||||||
|
|
@ -108,6 +108,8 @@ in
|
||||||
- ${config.sops.placeholder.${client.idSecret}}
|
- ${config.sops.placeholder.${client.idSecret}}
|
||||||
'') cfg.clients
|
'') cfg.clients
|
||||||
)}
|
)}
|
||||||
|
''
|
||||||
|
+ ''
|
||||||
|
|
||||||
filtering:
|
filtering:
|
||||||
protection_enabled: true
|
protection_enabled: true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue