Update game-servers.nix
This commit is contained in:
parent
75eecd3381
commit
d5f4c24388
1 changed files with 0 additions and 4 deletions
|
|
@ -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"
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue