Disable ethernet specific useDHCP
Is already configured by default for all interfaces.
This commit is contained in:
parent
72f9659430
commit
40b9beb86b
1
net.nix
1
net.nix
@ -12,7 +12,6 @@
|
|||||||
useDHCP = false;
|
useDHCP = false;
|
||||||
#defaultGateway = "10.0.40.30";
|
#defaultGateway = "10.0.40.30";
|
||||||
nameservers = ["8.8.8.8"];
|
nameservers = ["8.8.8.8"];
|
||||||
interfaces.eno1.useDHCP = false;
|
|
||||||
interfaces.eno1.ipv4.addresses = [ {
|
interfaces.eno1.ipv4.addresses = [ {
|
||||||
address = "10.0.40.7";
|
address = "10.0.40.7";
|
||||||
prefixLength = 24;
|
prefixLength = 24;
|
||||||
|
Loading…
Reference in New Issue
Block a user