From 43377c06f331916e377ff7fd8ae27a1e95e00a9d Mon Sep 17 00:00:00 2001 From: Ben Millwood Date: Wed, 23 Oct 2024 15:37:01 +0100 Subject: [PATCH] nixos/factorio: correct extraSettings example "admins" isn't a server setting, so this example wouldn't actually work. "max_players" is the first thing I saw in the [example server settings file][1] that hasn't already been encoded in the options. [1]: https://github.com/wube/factorio-data/blob/master/server-settings.example.json --- nixos/modules/services/games/factorio.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/games/factorio.nix b/nixos/modules/services/games/factorio.nix index a9a4f386e060..7d5014e006f9 100644 --- a/nixos/modules/services/games/factorio.nix +++ b/nixos/modules/services/games/factorio.nix @@ -177,7 +177,7 @@ in extraSettings = lib.mkOption { type = lib.types.attrs; default = {}; - example = { admins = [ "username" ];}; + example = { max_players = 64; }; description = '' Extra game configuration that will go into server-settings.json '';