diff --git a/hosts/wynne/network/default.nix b/hosts/wynne/network/default.nix index d56b657..0885370 100644 --- a/hosts/wynne/network/default.nix +++ b/hosts/wynne/network/default.nix @@ -41,6 +41,7 @@ networkConfig = { DHCP = "yes"; IPv4Forwarding = "yes"; + Domains = [ "~." ]; }; dhcpV4Config = { UseDomains = true; @@ -57,17 +58,9 @@ }; }; - services.resolved = { - enable = true; - domains = [ "~." ]; - fallbackDns = [ ]; - }; - + services.resolved.enable = true; networking = { useDHCP = lib.mkDefault false; - nameservers = [ - "10.10.10.1" - ]; useNetworkd = true; }; } diff --git a/hosts/wynne/network/wireguard.nix b/hosts/wynne/network/wireguard.nix index c446031..4d57ec2 100644 --- a/hosts/wynne/network/wireguard.nix +++ b/hosts/wynne/network/wireguard.nix @@ -37,6 +37,7 @@ let wireguard-peers = import ../../shared/wireguard-peers.nix { }; in { }; networkConfig = { DNS = "10.10.10.1"; + Domains = [ "labs.adtya.xyz" ]; Address = [ "${config.nodeconfig.facts.wireguard-ip}/24" ];