infra/hosts/underground/networking.nix
teutat3s ebde93a286
All checks were successful
Flake checks / Check (pull_request) Successful in 2m4s
style: fix formatting
2024-10-27 17:28:20 +01:00

31 lines
441 B
Nix

{
config,
pkgs,
flake,
...
}:
{
networking.hostName = "underground";
networking = {
defaultGateway = {
address = "80.244.242.1";
interface = "enp1s0";
};
nameservers = [
"95.129.51.51"
"80.244.244.244"
];
interfaces.enp1s0 = {
useDHCP = false;
ipv4.addresses = [
{
address = "80.244.242.3";
prefixLength = 29;
}
];
};
};
}