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