Initial commit (after fork)
This commit is contained in:
parent
5ebba8a939
commit
5fe3f69a17
111 changed files with 1428 additions and 1611 deletions
|
|
@ -1,16 +1,14 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
{pkgs, ...}: {
|
||||
networking = {
|
||||
hostName = "nixos";
|
||||
networkmanager.enable = true;
|
||||
nameservers = [ "1.1.1.1" ];
|
||||
nameservers = ["1.1.1.1"];
|
||||
firewall = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [ 22 80 443 59010 59011 ];
|
||||
allowedUDPPorts = [ 59010 59011 ];
|
||||
allowedTCPPorts = [22 80 443 59010 59011];
|
||||
allowedUDPPorts = [59010 59011];
|
||||
# allowedUDPPortRanges = [
|
||||
# { from = 4000; to = 4007; }
|
||||
# { from = 8000; to = 8010; }
|
||||
# { from = 4000; to = 4007; }
|
||||
# { from = 8000; to = 8010; }
|
||||
# ];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Reference in a new issue