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

26 lines
384 B
Nix
Raw Normal View History

2022-02-20 17:46:48 +01:00
{ config, lib, pkgs, ... }:
{
networking = {
hostName = "vanaheim";
defaultGateway = "";
usePredictableInterfaceNames = false;
2022-02-20 17:46:48 +01:00
nameservers = [
"1.1.1.1"
"8.8.8.8"
];
interfaces = {
eth0 = {
2022-02-20 17:46:48 +01:00
ipv4 = {
addresses = [{
address = "";
2022-02-20 17:46:48 +01:00
prefixLength = 24;
}];
};
};
};
};
}