Deliantra server
services.deliantra-server.configFiles
Contents of the server configuration files. These will be appended to the example configurations the server comes with and overwrite any default settings defined therein.
The example here is not comprehensive. See the files in /etc/deliantra-server after enabling this module for full documentation.
Type: attribute set of string
Default
{motd = "";}
Example
{dm_file = '' admin:secret_password:localhost alice:xyzzy:* '';motd = "Welcome to Deliantra!";settings = '' # Settings for game mechanics. stat_loss_on_death true armor_max_enchant 7 '';config = '' # Settings for the server daemon. hiscore_url https://deliantra.example.net/scores/ max_map_reset 86400 '';}
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/games/deliantra-server.nix
services.deliantra-server.dataDir
Where to store readonly data (maps, archetypes, sprites, etc). Note that if you plan to use the live map editor (rather than editing the maps offline and then nixos-rebuilding), THIS MUST BE WRITEABLE -- copy the deliantra-data someplace writeable (say, /var/lib/deliantra/data) and update this option accordingly.
Type: string
Default
"${pkgs.deliantra-data}"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/games/deliantra-server.nix
services.deliantra-server.enable
If enabled, the Deliantra game server will be started at boot.
Type: boolean
Default
false
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/games/deliantra-server.nix
services.deliantra-server.openFirewall
Whether to open ports in the firewall for the server.
Type: boolean
Default
false
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/games/deliantra-server.nix
services.deliantra-server.package
The deliantra-server package to use. ::: {.note}
This will also be used for map/arch data, if you don't change {option}dataDir
:::
Type: package
Default
pkgs.deliantra-server
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/games/deliantra-server.nix
services.deliantra-server.stateDir
Where to store runtime data (save files, persistent items, etc).
If left at the default, this will be automatically created on server
startup if it does not already exist. If changed, it is the admin's
responsibility to make sure that the directory exists and is writeable
by the crossfire
user.
Type: string
Default
"/var/lib/deliantra"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/games/deliantra-server.nix