tomato/hardware/iwakura/network.nix

20 lines
373 B
Nix
Raw Normal View History

2021-04-27 18:47:09 -04:00
{
networking = {
hostName = "iwakura";
useDHCP = false;
firewall = {
allowedTCPPorts = [ 8384 6881 6882 6883 6884 6697 ];
allowedUDPPorts = [ 6881 6882 6883 6884 6697 ];
allowedTCPPortRanges = [
{ from = 8995; to = 8999; }
];
};
interfaces = {
enp0s25.useDHCP = true;
wlp3s0.useDHCP = true;
};
};
}