Jump to content

Ioquake3

From Official NixOS Wiki

ioquake3 is an open-source, community-maintained engine port of Quake III Arena, compatible with the original game data.

Dedicated server setup

Following snippet will enable a Quake 3 Arena dedicated server. The map q3tourney3 (Hell's Gate) will be loaded.

services.quake3-server = {
  enable = true;
  openFirewall = true;
  baseq3 = "/var/lib/quake3";
  extraConfig = ''
    seta rconPassword "super_secret"
    seta sv_hostname "My NixOS Quake 3 Arena Dedicated Server"
    map q3tourney3
  '';
};

Game files must be present and readable on the path specified. The full path to the single game file will be /var/lib/quake3/.q3a/baseq3/pak0.pk3. Permissions must be set world-readable.

chmod -R o+rX /var/lib/quake3/.q3a/