last ditch
This commit is contained in:
@@ -8,8 +8,14 @@
|
|||||||
|
|
||||||
config = lib.mkIf config.sysconfig.opts.virtualization.minecraft.enable {
|
config = lib.mkIf config.sysconfig.opts.virtualization.minecraft.enable {
|
||||||
|
|
||||||
networking.firewall.allowedTCPPorts = [ 25565 ];
|
networking = {
|
||||||
networking.firewall.allowedUDPPorts = [ 25565 ];
|
firewall = {
|
||||||
|
allowedTCPPorts = [ 25565 ];
|
||||||
|
allowedUDPPorts = [ 25565 ];
|
||||||
|
};
|
||||||
|
|
||||||
|
nat.internalInterfaces = [ "ve-minecraft" ];
|
||||||
|
};
|
||||||
|
|
||||||
nixpkgs.overlays = [ inputs.nix-minecraft.overlay ];
|
nixpkgs.overlays = [ inputs.nix-minecraft.overlay ];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user