nix: first updates
This commit is contained in:
parent
39643701c8
commit
0cadeb1031
10 changed files with 246 additions and 48 deletions
8
modules/networking.nix
Normal file
8
modules/networking.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{...}: let
|
||||
in {
|
||||
networking.firewall = {
|
||||
enable = true; # disable default firewall
|
||||
allowedTCPPorts = [22 80 443 25565];
|
||||
allowedUDPPorts = [22 80 443 25565];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue