2025-09-29 22:07:43 +00:00
|
|
|
{ lib, ... }:
|
|
|
|
|
{
|
|
|
|
|
networking = {
|
|
|
|
|
defaultGateway = {
|
2026-05-07 22:24:04 +00:00
|
|
|
address = "107.150.42.1";
|
|
|
|
|
interface = "enp2s0";
|
2025-09-29 22:07:43 +00:00
|
|
|
};
|
|
|
|
|
defaultGateway6 = {
|
2026-05-07 22:24:04 +00:00
|
|
|
address = "2604:4300:a:30::1";
|
|
|
|
|
interface = "enp2s0";
|
2025-09-29 22:07:43 +00:00
|
|
|
};
|
2026-01-04 17:21:22 +00:00
|
|
|
firewall = {
|
|
|
|
|
enable = false;
|
|
|
|
|
};
|
2026-05-07 22:24:04 +00:00
|
|
|
interfaces.enp2s0 = {
|
2025-09-29 22:07:43 +00:00
|
|
|
ipv4.addresses = [{
|
2026-05-07 22:24:04 +00:00
|
|
|
address = "107.150.42.2";
|
2025-09-29 22:07:43 +00:00
|
|
|
prefixLength = 29;
|
|
|
|
|
}];
|
|
|
|
|
ipv6.addresses = [{
|
2026-05-07 22:24:04 +00:00
|
|
|
address = "2604:4300:a:30::2";
|
2025-09-29 22:07:43 +00:00
|
|
|
prefixLength = 64;
|
|
|
|
|
}];
|
|
|
|
|
};
|
|
|
|
|
nameservers = ["8.8.8.8"];
|
|
|
|
|
search = ["nocix.net"];
|
|
|
|
|
};
|
|
|
|
|
}
|