Loading
nixos/resolved: fix regressions after interface change
With the options being only set when `services.resolved.enable` was enabled, they were only available if the host resolver was resolved. That broke the resolved config used when initrd networking is enabled. A good indicator that something is wrong is if the config section of a module configures the options itself. That means non introspectable settings are being put in place. Additionally DNS= and Domains= need to be space-separated lists. The manpage does not indicate that they can be set multiple times. I decided not to port the LLMNR enablement over, since it never gained widespread traction and is generally being phased out in favor of mDNS. Fixes: #480964