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

23 lines
372 B
Nix
Raw Normal View History

2024-02-04 00:11:26 +00:00
{ ... }:
{
networking.useDHCP = false;
networking.bridges = {
"br0" = {
interfaces = [
"eno2"
"enp23s0"
];
};
};
networking.interfaces.br0.ipv4.addresses = [
{
address = "192.168.0.42";
prefixLength = 22;
}
];
networking.defaultGateway = "192.168.0.1";
networking.nameservers = [ "192.168.0.1" ];
}