20 lines
373 B
Nix
20 lines
373 B
Nix
|
{
|
||
|
|
||
|
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;
|
||
|
};
|
||
|
};
|
||
|
|
||
|
}
|