stuff
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
config = lib.mkIf config.sysconfig.opts.virtualization.minecraft.enable {
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 25565 ];
|
||||
networking.firewall.allowedUDPPorts = [ 25565 ];
|
||||
|
||||
nixpkgs.overlays = [ inputs.nix-minecraft.overlay ];
|
||||
|
||||
@@ -23,6 +24,12 @@
|
||||
{
|
||||
containerPort = 25565;
|
||||
hostPort = 25565;
|
||||
protocol = "tcp";
|
||||
}
|
||||
{
|
||||
containerPort = 25565;
|
||||
hostPort = 25565;
|
||||
protocol = "udp";
|
||||
}
|
||||
{
|
||||
containerPort = 25566;
|
||||
|
||||
Reference in New Issue
Block a user