Break networking out to its own file.

This makes it easier to figure out what needs review and changing
Also switch to the latest detected hardware state.
This commit is contained in:
Eli Ribble 2025-09-29 22:07:43 +00:00
parent 122554c4aa
commit bbc2bbb5e1
4 changed files with 54 additions and 24 deletions

View file

@ -0,0 +1,25 @@
{ 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"];
};
}