15 lines
272 B
Nix
15 lines
272 B
Nix
{ ... }:
|
|
{
|
|
networking = {
|
|
interfaces."enp42s0".ipv4.addresses = [{
|
|
address = "10.2.0.100";
|
|
prefixLength = 8;
|
|
}];
|
|
defaultGateway = {
|
|
address = "10.1.0.1";
|
|
interface = "enp42s0";
|
|
};
|
|
|
|
firewall.allowedUDPPorts = [ 27015 ];
|
|
};
|
|
}
|