Compare commits
2 commits
92ff91fe6d
...
a40c81af7c
Author | SHA1 | Date | |
---|---|---|---|
a40c81af7c | |||
fbdc5a3fc9 |
2 changed files with 2 additions and 2 deletions
|
@ -87,7 +87,6 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
wget
|
|
||||||
dconf
|
dconf
|
||||||
polkit_gnome
|
polkit_gnome
|
||||||
libvirt
|
libvirt
|
||||||
|
|
|
@ -1,11 +1,12 @@
|
||||||
_: {
|
_: {
|
||||||
networking.firewall.allowedTCPPorts = [25565];
|
networking.firewall.allowedTCPPorts = [25565];
|
||||||
|
networking.firewall.allowedUDPPorts = [25565];
|
||||||
virtualisation.oci-containers.containers.minecraft = {
|
virtualisation.oci-containers.containers.minecraft = {
|
||||||
image = "itzg/minecraft-server";
|
image = "itzg/minecraft-server";
|
||||||
ports = ["25565:25565"];
|
ports = ["25565:25565"];
|
||||||
environment = {
|
environment = {
|
||||||
EULA = "TRUE";
|
EULA = "TRUE";
|
||||||
VERSION = "1.20.2";
|
VERSION = "1.19.2";
|
||||||
MEMORY = "4G";
|
MEMORY = "4G";
|
||||||
TYPE = "FABRIC";
|
TYPE = "FABRIC";
|
||||||
FABRIC_LOADER_VERSION = "0.14.23";
|
FABRIC_LOADER_VERSION = "0.14.23";
|
||||||
|
|
Loading…
Reference in a new issue