16 lines
585 B
Nix
16 lines
585 B
Nix
# services/wog.nix — World of Guildhall, the WoW Classic–style co-op game.
|
||
#
|
||
# The game and NixOS module live in the standalone wog flake. nginx is the
|
||
# only public listener; Authelia admits any account (Guildhall's invites
|
||
# work here too), and the game keys each player on the Remote-User it
|
||
# passes through. Nightly snapshots sit next to Guildhall's.
|
||
{ config, lib, ... }:
|
||
{
|
||
config = lib.mkIf (config.networking.hostName == "FredOS-Mediaserver") {
|
||
services.wog = {
|
||
enable = true;
|
||
port = 8100;
|
||
backup.directory = "/mnt/disk2/backups/wog";
|
||
};
|
||
};
|
||
}
|