oparl: set defaultGateway
This commit is contained in:
parent
5888cf1359
commit
374203c62c
|
@ -35,19 +35,22 @@ in
|
||||||
} ];
|
} ];
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.hostName = "oparl";
|
networking = {
|
||||||
|
hostName = "oparl";
|
||||||
|
|
||||||
networking.useDHCP = false;
|
|
||||||
networking.interfaces.eth0 = {
|
|
||||||
useDHCP = false;
|
useDHCP = false;
|
||||||
ipv4.addresses = [ {
|
interfaces.eth0 = {
|
||||||
address = netConfig.hosts4.${config.networking.hostName};
|
useDHCP = false;
|
||||||
prefixLength = netConfig.subnet4Len;
|
ipv4.addresses = [ {
|
||||||
} ];
|
address = netConfig.hosts4.${config.networking.hostName};
|
||||||
|
prefixLength = netConfig.subnet4Len;
|
||||||
|
} ];
|
||||||
|
};
|
||||||
|
defaultGateway = netConfig.hosts4.serv-gw;
|
||||||
|
nameservers = [
|
||||||
|
netConfig.hosts4.dnscache "9.9.9.9"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
networking.nameservers = [
|
|
||||||
netConfig.hosts4.dnscache "9.9.9.9"
|
|
||||||
];
|
|
||||||
|
|
||||||
users.users.oparl = {
|
users.users.oparl = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user