+69
-51
nixos/modules/services/networking/adguardhome.nix
+69
-51
nixos/modules/services/networking/adguardhome.nix
······-(mkRenamedOptionModuleWith { sinceRelease = 2211; from = cfgPath ++ [ "host" ]; to = cfgPath ++ [ "settings" "bind_host" ]; })-(mkRenamedOptionModuleWith { sinceRelease = 2211; from = cfgPath ++ [ "port" ]; to = cfgPath ++ [ "settings" "bind_port" ]; })···-defaultText = literalExpression ''config.services.adguardhome.settings.dhcp.enabled or false'';······-Declarative configurations are supplied with a default `schema_version`, `bind_host`, and `bind_port`.···-"AdGuard setting dns.bind_host or dns.bind_hosts needs to be configured for a minimal working configuration";-"AdGuard setting dns.bootstrap_dns needs to be configured for a minimal working configuration";······-AmbientCapabilities = [ "CAP_NET_BIND_SERVICE" ] ++ optionals cfg.allowDHCP [ "CAP_NET_RAW" ];···-networking.firewall.allowedTCPPorts = mkIf cfg.openFirewall [ cfg.settings.bind_port or defaultBindPort ];
··················+message = "AdGuard option `settings.bind_host' has been superseded by `services.adguardhome.host'";+message = "AdGuard option `settings.bind_host' has been superseded by `services.adguardhome.port'";+message = "AdGuard setting dns.bootstrap_dns needs to be configured for a minimal working configuration";·········
+42
-43
nixos/tests/adguardhome.nix
+42
-43
nixos/tests/adguardhome.nix
·········
·········