22 lines
453 B
Nix
22 lines
453 B
Nix
{ ... }:
|
|
|
|
{
|
|
networking = {
|
|
interfaces.net0 = {
|
|
ipv6.addresses = [
|
|
{
|
|
address = "2a00:14b0:42:102::17";
|
|
prefixLength = 64;
|
|
}
|
|
];
|
|
};
|
|
defaultGateway6 = "2a00:14b0:42:102::1";
|
|
nameservers = [ "212.12.50.158" "192.76.134.90" ];
|
|
search = [ "hamburg.ccc.de" ];
|
|
};
|
|
|
|
systemd.network.links."10-net0" = {
|
|
matchConfig.MACAddress = "86:72:08:F6:C0:D6";
|
|
linkConfig.Name = "net0";
|
|
};
|
|
}
|