nixos-systems/nixos-anywhere/nocix/network.nix
Eli Ribble bbc2bbb5e1 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.
2025-09-29 22:48:47 +00:00

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"];
};
}