diff --git a/hosts/layne/network/default.nix b/hosts/layne/network/default.nix index 36f484b..934b2e6 100644 --- a/hosts/layne/network/default.nix +++ b/hosts/layne/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; nftables.enable = true; }; diff --git a/hosts/layne/network/wireguard.nix b/hosts/layne/network/wireguard.nix index 125406d..2592ec5 100644 --- a/hosts/layne/network/wireguard.nix +++ b/hosts/layne/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" ];