Update FredOS-Mediaserver.nix

This commit is contained in:
ediblerope 2026-01-20 16:11:58 +00:00 committed by GitHub
parent b3c7aab1d7
commit 828ef4272b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -81,7 +81,6 @@
};
};
virtualisation.oci-containers.backend = "docker";
virtualisation.oci-containers.containers."hytale-server" = {
image = "ghcr.io/terkea/hytale-server:latest";
ports = [ "5520:5520/udp" ];
@ -93,8 +92,8 @@
volumes = [
"/home/fred/docker/hytale-server/hytale-data:/data"
];
# tty and stdin_open equivalent in NixOS OCI module
extraOptions = [ "--tty" "--interactive" ];
# Remove --interactive, keep only --tty
extraOptions = [ "--tty" ];
};
# Open firewall for web traffic