infra/hosts/underground/networking.nix
teutat3s b15f7a38f2
Some checks failed
Flake checks / Check (pull_request) Failing after 2m22s
wip: init host underground to test mas
related to #242
2024-10-26 02:03:31 +02:00

25 lines
395 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; }
];
};
};
}