dnscache: use static address

it moved o_0

TODO: exlude this address from dhcp!
This commit is contained in:
Astro 2020-04-12 23:29:13 +02:00
parent bd86de8c39
commit f1662e06ef
1 changed files with 2 additions and 1 deletions

View File

@ -19,7 +19,8 @@
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
networking.useNetworkd = true;
networking.useDHCP = false;
networking.interfaces.eth0.useDHCP = true;
networking.interfaces.eth0.ipv4.addresses = [ { address = "172.20.73.8"; prefixLength = 26; } ];
networking.defaultGateway = "172.20.73.1";
services.resolved.enable = false;
# Set your time zone.