Update FredOS-Mediaserver.nix

This commit is contained in:
ediblerope 2026-01-20 16:15:09 +00:00 committed by GitHub
parent 756dbdb785
commit 8f80b4c681
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -81,19 +81,6 @@
}; };
}; };
virtualisation.oci-containers.containers."hytale-server" = {
image = "ghcr.io/terkea/hytale-server:latest";
ports = [ "5520:5520/udp" ];
environment = {
SERVER_NAME = "My Hytale Server";
MAX_PLAYERS = "50";
MEMORY = "4G";
};
volumes = [
"/home/fred/docker/hytale-server/hytale-data:/data"
];
# We remove extraOptions to avoid the TTY/Input device errors
};
# Open firewall for web traffic # Open firewall for web traffic
networking.firewall.allowedTCPPorts = [ 80 443 81 22 ]; networking.firewall.allowedTCPPorts = [ 80 443 81 22 ];