This makes it easier to figure out what needs review and changing Also switch to the latest detected hardware state.
25 lines
463 B
Nix
25 lines
463 B
Nix
{ lib, ... }:
|
|
{
|
|
networking = {
|
|
defaultGateway = {
|
|
address = "63.141.227.153";
|
|
interface = "enp3s0";
|
|
};
|
|
defaultGateway6 = {
|
|
address = "2604:4300:a:88::1";
|
|
interface = "enp3s0";
|
|
};
|
|
interfaces.enp2s0 = {
|
|
ipv4.addresses = [{
|
|
address = "63.141.227.154";
|
|
prefixLength = 29;
|
|
}];
|
|
ipv6.addresses = [{
|
|
address = "2604:4300:a:88::2";
|
|
prefixLength = 64;
|
|
}];
|
|
};
|
|
nameservers = ["8.8.8.8"];
|
|
search = ["nocix.net"];
|
|
};
|
|
}
|