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/niflheim/networking.nix

25 lines
368 B
Nix

{ config, lib, pkgs, ... }:
{
networking = {
hostName = "niflheim";
defaultGateway = "192.168.64.1";
nameservers = [
"1.1.1.1"
"8.8.8.8"
];
interfaces = {
enp0s1 = {
ipv4 = {
addresses = [{
address = "192.168.64.4";
prefixLength = 24;
}];
};
};
};
};
}