mirror of
https://git.lgmrszd.xyz/Lgmrszd/nix-cfg.git
synced 2025-12-14 23:58:20 +01:00
vps: override factorio version
This commit is contained in:
parent
3165ed8533
commit
191a11bde9
2 changed files with 22 additions and 3 deletions
|
|
@ -1,14 +1,15 @@
|
|||
{ config, data, ...}:
|
||||
{ config, data, pkgs, ...}:
|
||||
{
|
||||
services.factorio = {
|
||||
enable = true;
|
||||
package = (pkgs.factorio-headless.override { versionsJson = ./factorio-versions.json; });
|
||||
public = false;
|
||||
game-name = "Lgm's Factorio Game";
|
||||
openFirewall = true;
|
||||
autosave-interval = 5;
|
||||
extraSettings = {
|
||||
autosave-slots = 8;
|
||||
autosave_slots = 8;
|
||||
};
|
||||
extraSettingsFile = "/var/lib/${config.services.factorio.stateDirName}/server-settings-extra.json";
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue