nix/host/x86_64-linux/home/Terraria.nix

19 lines
478 B
Nix
Raw Permalink Normal View History

{ pkgs, ... }:
2024-12-02 21:12:45 +03:00
{
# NOTE: Admin with `tmux -S /var/lib/terraria/terraria.sock attach-session -t 0`
environment.systemPackages = with pkgs; [ tmux ];
2024-12-02 21:12:45 +03:00
services.terraria = {
enable = true;
autoCreatedWorldSize = "large";
messageOfTheDay = "<3";
maxPlayers = 4;
noUPnP = false;
openFirewall = false;
password = "mishadima143";
port = 22777;
secure = false;
worldPath = "/var/lib/terraria/.local/share/Terraria/Worlds/World.wld";
};
2024-12-02 21:12:45 +03:00
}