From ce152ba2b3fb36d4b588ba2f8e62b49e25f0ef24 Mon Sep 17 00:00:00 2001 From: ashisgreat22 Date: Wed, 18 Mar 2026 19:23:51 +0100 Subject: [PATCH] fix(adguard): fix template string concatenation Properly concatenate optionalString with content. Co-Authored-By: Claude Opus 4.6 --- modules/adguard.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/adguard.nix b/modules/adguard.nix index c1cb0a6..2d9280d 100644 --- a/modules/adguard.nix +++ b/modules/adguard.nix @@ -97,8 +97,8 @@ in querylog_enabled: true querylog_file_enabled: true statistics_enabled: true - - ${lib.optionalString (cfg.clients != []) '' + '' + + lib.optionalString (cfg.clients != []) '' clients: persistent: ${lib.concatStringsSep "\n " ( @@ -108,6 +108,8 @@ in - ${config.sops.placeholder.${client.idSecret}} '') cfg.clients )} + '' + + '' filtering: protection_enabled: true