infrastructure/hosts/nyx.lewd.wtf/networking.nix

12 lines
229 B
Nix
Raw Normal View History

2023-04-12 12:47:22 +00:00
{ ... }:
{
networking.defaultGateway = "192.168.0.1";
2023-09-13 06:07:49 +00:00
networking.nameservers = [ "192.168.0.1" ];
2023-04-12 12:47:22 +00:00
networking.interfaces.enp2s0.ipv4.addresses = [
{
address = "192.168.0.10";
prefixLength = 22;
}
];
}