rico1: DNS shenanigans
This commit is contained in:
parent
d5be572083
commit
59af07ec66
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