We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e8d50d6 + 6b3460f commit df24056Copy full SHA for df24056
nixos/modules/services/games/factorio.nix
@@ -296,6 +296,15 @@ in
296
Autosaving on connected Windows clients will be disabled regardless of autosave_only_on_server option.
297
'';
298
};
299
+ extraArgs = lib.mkOption {
300
+ type = lib.types.listOf lib.types.str;
301
+ default = [ ];
302
+ example = [
303
+ "--rcon-bind=localhost:27015"
304
+ "--rcon-password=..."
305
+ ];
306
+ description = "Extra command line arguments.";
307
+ };
308
309
310
@@ -340,6 +349,7 @@ in
340
349
(playerListOption "server-adminlist" cfg.admins)
341
350
(playerListOption "server-whitelist" cfg.allowedPlayers)
342
351
(lib.optionalString (cfg.allowedPlayers != [ ]) "--use-server-whitelist")
352
+ cfg.extraArgs
343
353
];
344
354
345
355
# Sandboxing
0 commit comments