aboutsummaryrefslogtreecommitdiff
path: root/hosts/jupiter/minecraft.nix
diff options
context:
space:
mode:
authorCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2025-06-18 12:40:57 -0500
committerCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2025-06-18 12:40:57 -0500
commit5672a0261ea9eec21f1c57b45b9d1b64d2d1f9cb (patch)
tree6dfec7210389a974438323003995a24ed2eb491c /hosts/jupiter/minecraft.nix
parent7470bf8571a6f20ac246fcef3a7b25e44abc53ac (diff)
more smb
Diffstat (limited to 'hosts/jupiter/minecraft.nix')
-rw-r--r--hosts/jupiter/minecraft.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/hosts/jupiter/minecraft.nix b/hosts/jupiter/minecraft.nix
index 1a9ff6b..a42e9a0 100644
--- a/hosts/jupiter/minecraft.nix
+++ b/hosts/jupiter/minecraft.nix
@@ -1,5 +1,7 @@
{config, ...}: {
networking.firewall.allowedUDPPorts = [19132];
+
+ virtualisation.oci-containers.backend = "podman";
virtualisation.oci-containers.containers = {
"Minecraft" = {
environment = {
@@ -10,7 +12,6 @@
TZ = config.time.timeZone;
VERSION = "1.21.81.2";
CONTENT_LOG_FILE_ENABLED = "true";
- TEXTUREPACK_REQUIRED = "true";
ALLOW_CHEATS = "false";
DIFFICULTY = "1";
@@ -18,6 +19,8 @@
image = "itzg/minecraft-bedrock-server";
ports = ["0.0.0.0:19132:19132/udp"];
volumes = ["/srv/minecraft/:/data"];
+
+ podman.sdnotify = "conmon"; # avoid nasty errors about healthcheck (idk, the service runs fine)
};
};
}