Xonotic
services.xonotic.appendConfig
Literal text to insert at the end of server.cfg
.
Type: null or strings concatenated with "\n"
Default
null
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/games/xonotic.nix
services.xonotic.dataDir
Data directory.
Type: path
Default
"/var/lib/xonotic"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/games/xonotic.nix
services.xonotic.enable
Whether to enable Xonotic dedicated server.
Type: boolean
Default
false
Example
true
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/games/xonotic.nix
services.xonotic.openFirewall
Open the firewall for TCP and UDP on the specified port.
Type: boolean
Default
false
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/games/xonotic.nix
services.xonotic.package
The xonotic-dedicated package to use.
Type: package
Default
pkgs.xonotic-dedicated
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/games/xonotic.nix
services.xonotic.prependConfig
Literal text to insert at the start of server.cfg
.
Type: null or strings concatenated with "\n"
Default
null
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/games/xonotic.nix
services.xonotic.settings
Generates the server.cfg
file. Refer to upstream's example for
details.
Type: attribute set of ((optionally newline-terminated) single-line string or signed integer or floating point number or non-empty (list of ((optionally newline-terminated) single-line string or signed integer or floating point number)))
Default
{ }
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/games/xonotic.nix
services.xonotic.settings.hostname
The name that will appear in the server list. $g_xonoticversion
gets replaced with the current version.
Type: (optionally newline-terminated) single-line string
Default
"Xonotic $g_xonoticversion Server"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/games/xonotic.nix
services.xonotic.settings.maxplayers
Number of player slots on the server, including spectators.
Type: signed integer
Default
16
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/games/xonotic.nix
services.xonotic.settings.net_address
The address Xonotic will listen on.
Type: (optionally newline-terminated) single-line string
Default
"0.0.0.0"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/games/xonotic.nix
services.xonotic.settings.port
The port Xonotic will listen on.
Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)
Default
26000
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/games/xonotic.nix
services.xonotic.settings.sv_motd
Text displayed when players join the server.
Type: (optionally newline-terminated) single-line string
Default
""
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/games/xonotic.nix
services.xonotic.settings.sv_public
Controls whether the server will be publicly listed.
Type: signed integer
Default
0
Example
[-11]
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/games/xonotic.nix
services.xonotic.settings.sv_termsofservice_url
URL for the Terms of Service for playing on your server.
Type: (optionally newline-terminated) single-line string
Default
""
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/games/xonotic.nix