Update game-servers.nix

This commit is contained in:
ediblerope 2026-01-20 21:06:31 +00:00 committed by GitHub
parent f6dd495ad3
commit 83666e7e7d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,7 +1,7 @@
{ config, pkgs, lib, ... }: { config, pkgs, lib, ... }:
{ {
config = lib.mkIf (config.networking.hostName == "FredOS-Mediaserver") {
## <----- HYTALE ----> ## ## <----- HYTALE ----> ##
virtualisation.oci-containers = { virtualisation.oci-containers = {
backend = "docker"; backend = "docker";
containers."hytale-server" = { containers."hytale-server" = {
@ -25,4 +25,5 @@
}; };
}; };
networking.firewall.allowedUDPPorts = [ 5520 ]; networking.firewall.allowedUDPPorts = [ 5520 ];
};
} }