rico0: dns shenanigans
This commit is contained in:
parent
8ec661c300
commit
9361264119
2 changed files with 3 additions and 9 deletions
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue