Iwakura/hardware/iwakura/network.nix

20 lines
383 B
Nix
Raw Normal View History

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