aboutsummaryrefslogtreecommitdiff
path: root/modules/games/default.nix
blob: 4d701f905c35e0f0960b59fede2d5841e7b3d095 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ config, lib, pkgs, ... }:

{
  services.factorio = {
    enable = true;
    package = pkgs.unstable.factorio-headless;

    public = false;
    nonBlockingSaving = true;
    loadLatestSave = true;
    game-name = "cocaine.farm";
    bind = "178.63.224.10";
  };

  services.xonotic = {
    enable = true;
    settings = {
      net_address = "178.63.224.10";
      hostname = "cocaine.farm xonotic $g_xonoticversion";
    };
  };
}