{ config, pkgs, ... }: { networking.interfaces.net0 = { ipv4.addresses = [ { address = "10.31.210.10"; prefixLength = 25; } ]; ipv6.addresses = [ { address = "2a07:c480:0:1d2:0000:0000:1000:000a"; prefixLength = 64; } ]; }; systemd.network.links."10-net0" = { matchConfig.MACAddress = "1E:EF:2D:92:81:DA"; linkConfig.Name = "net0"; }; }