mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-29 19:30:11 +00:00
nixos/adguardhome: Use lib.recursiveUpdate
(cherry picked from commit e3c0989d4a)
This commit is contained in:
committed by
github-actions[bot]
parent
1cba5443da
commit
4046958a97
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user