blob: 79fbe2719a824c9f09368bd101f59bc82934ba1d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
{ lib, ... }: {
# This file was populated at runtime with the networking
# details gathered from the active system.
networking = {
nameservers = [
"67.207.67.2"
"67.207.67.3"
];
defaultGateway = "157.245.160.1";
defaultGateway6 = "";
dhcpcd.enable = false;
usePredictableInterfaceNames = lib.mkForce true;
interfaces = {
eth0 = {
ipv4.addresses = [
{ address="157.245.167.217"; prefixLength=20; }
{ address="10.46.0.8"; prefixLength=16; }
];
ipv6.addresses = [
{ address="fe80::242a:8bff:feb7:6afb"; prefixLength=64; }
];
};
};
};
services.udev.extraRules = ''
ATTR{address}=="26:2a:8b:b7:6a:fb", NAME="eth0"
'';
}
|