1
0
mirror of https://github.com/tboerger/nixos-config synced 2024-11-23 03:32:08 +01:00
github.com-tboerger-nixos-c.../servers/vanaheim/networking.nix
2024-01-30 14:00:26 +01:00

26 lines
384 B
Nix

{ config, lib, pkgs, ... }:
{
networking = {
hostName = "vanaheim";
defaultGateway = "";
usePredictableInterfaceNames = false;
nameservers = [
"1.1.1.1"
"8.8.8.8"
];
interfaces = {
eth0 = {
ipv4 = {
addresses = [{
address = "";
prefixLength = 24;
}];
};
};
};
};
}