1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
{ config, pkgs, lib, hostname, ... }: { networking = { hostName = hostname; useNetworkd = true; wireless.enable = false; useDHCP = false; }; services.nscd.enable = false; system.nssModules = lib.mkForce [ ]; # Use systemd-resolved services.resolved = { enable = true; dnssec = "false"; }; }