Compare commits
2 commits
172c42963e
...
aec8ca6d33
Author | SHA1 | Date | |
---|---|---|---|
aec8ca6d33 | |||
3b6695d25b |
3 changed files with 4 additions and 10 deletions
|
@ -12,11 +12,11 @@
|
|||
enable = true;
|
||||
matchConfig = {
|
||||
Type = "ether";
|
||||
Name = "e*";
|
||||
};
|
||||
networkConfig = {
|
||||
DHCP = "yes";
|
||||
IPv4Forwarding = "yes";
|
||||
Domains = [ "~." ];
|
||||
};
|
||||
dhcpV4Config = {
|
||||
UseDomains = true;
|
||||
|
@ -29,16 +29,8 @@
|
|||
};
|
||||
};
|
||||
|
||||
services.resolved = {
|
||||
enable = true;
|
||||
domains = [ "~." ];
|
||||
fallbackDns = [ ];
|
||||
};
|
||||
|
||||
services.resolved.enable = true;
|
||||
networking = {
|
||||
nameservers = [
|
||||
"10.10.10.1"
|
||||
];
|
||||
useDHCP = lib.mkDefault false;
|
||||
useNetworkd = true;
|
||||
};
|
||||
|
|
|
@ -39,6 +39,7 @@ let wireguard-peers = import ../../shared/wireguard-peers.nix { noEndpoints = tr
|
|||
};
|
||||
networkConfig = {
|
||||
DNS = "10.10.10.1";
|
||||
Domains = [ "labs.adtya.xyz" ];
|
||||
Address = [
|
||||
"${config.nodeconfig.facts.wireguard-ip}/24"
|
||||
];
|
||||
|
|
|
@ -90,6 +90,7 @@
|
|||
services.resolved.enable = true;
|
||||
networking = {
|
||||
useDHCP = lib.mkDefault false;
|
||||
useNetworkd = true;
|
||||
|
||||
firewall = {
|
||||
allowedTCPPorts = [
|
||||
|
|
Loading…
Reference in a new issue