{ config, lib, pkgs, ... }: with lib; { config = mkIf config.nathan.services.resolved.enable { services.resolved = { enable = true; domains = config.nathan.services.resolved.domains; fallbackDns = config.nathan.services.resolved.nameservers; }; }; }