{ 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 = "159.89.128.1"; defaultGateway6 = ""; dhcpcd.enable = false; usePredictableInterfaceNames = lib.mkForce true; interfaces = { eth0 = { ipv4.addresses = [ { address="159.89.128.69"; prefixLength=20; } { address="10.46.0.6"; prefixLength=16; } ]; ipv6.addresses = [ { address="fe80::e899:c0ff:fe9c:e194"; prefixLength=64; } ]; }; }; }; services.udev.extraRules = '' ATTR{address}=="ea:99:c0:9c:e1:94", NAME="eth0" ''; }