Update game-servers.nix

This commit is contained in:
ediblerope 2026-01-25 12:39:20 +00:00 committed by GitHub
parent 75eecd3381
commit d5f4c24388
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,4 +1,3 @@
#/services/game-servers.nix
{ config, pkgs, lib, ... }: { config, pkgs, lib, ... }:
{ {
config = lib.mkIf (config.networking.hostName == "FredOS-Mediaserver") { config = lib.mkIf (config.networking.hostName == "FredOS-Mediaserver") {
@ -7,7 +6,6 @@
backend = "docker"; backend = "docker";
containers."hytale" = { containers."hytale" = {
image = "indifferentbroccoli/hytale-server-docker:latest"; image = "indifferentbroccoli/hytale-server-docker:latest";
autoStart = true;
ports = [ "5520:5520/udp" ]; ports = [ "5520:5520/udp" ];
environment = { environment = {
SERVER_NAME = "Nordhammer.it Hytale Server"; SERVER_NAME = "Nordhammer.it Hytale Server";
@ -22,8 +20,6 @@
]; ];
extraOptions = [ extraOptions = [
"--stop-timeout=30" "--stop-timeout=30"
"--interactive"
"--tty"
]; ];
}; };
}; };