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
This commit is contained in:
Ben Millwood
2024-10-23 16:11:58 +01:00
parent 457396d445
commit 43377c06f3
+1 -1
View File
@@ -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
'';