diff --git a/modules/adguard.nix b/modules/adguard.nix index 3069089..b8cb16a 100644 --- a/modules/adguard.nix +++ b/modules/adguard.nix @@ -97,8 +97,7 @@ 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 +107,7 @@ in - ${config.sops.placeholder.${client.idSecret}} '') cfg.clients )} + '' + '' filtering: protection_enabled: true