{ lib, ... }: { # Use systemd-networkd for networking systemd.network = { enable = true; networks = { wlan0 = { matchConfig.Name = "wlan0"; networkConfig = { DHCP = "yes"; }; extraConfig = '' [DHCPv4] UseDNS=yes UseDomains=yes ''; }; }; }; networking = { hostName = "aptos"; useNetworkd = true; useDHCP = false; private-wireguard.enable = true; }; services.nscd.enable = false; system.nssModules = lib.mkForce [ ]; # Use systemd-resolved services.resolved = { enable = true; dnssec = "false"; }; my.services.tailscale.enable = true; }