diff --git a/nixos/modules/services/networking/adguardhome.nix b/nixos/modules/services/networking/adguardhome.nix index caab4ba0c953..d05f2de93fcc 100644 --- a/nixos/modules/services/networking/adguardhome.nix +++ b/nixos/modules/services/networking/adguardhome.nix @@ -20,8 +20,7 @@ let settings = if (cfg.settings != null) then - cfg.settings - // ( + lib.recursiveUpdate cfg.settings ( if cfg.settings.schema_version < 23 then { bind_host = cfg.host;