infra/hosts/underground/networking.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
441 B
Nix
Raw Normal View History

{
config,
pkgs,
flake,
...
}:
{
networking.hostName = "underground";
networking = {
defaultGateway = {
address = "80.244.242.1";
interface = "enp1s0";
};
2024-10-27 16:28:20 +00:00
nameservers = [
"95.129.51.51"
"80.244.244.244"
];
interfaces.enp1s0 = {
useDHCP = false;
ipv4.addresses = [
2024-10-27 16:28:20 +00:00
{
address = "80.244.242.3";
prefixLength = 29;
}
];
};
};
}