mirror of
https://git.lgmrszd.xyz/Lgmrszd/nix-cfg.git
synced 2024-12-23 08:28:06 +01:00
14 lines
343 B
Nix
14 lines
343 B
Nix
|
{ config, data, ...}:
|
||
|
{
|
||
|
services.factorio = {
|
||
|
enable = true;
|
||
|
public = false;
|
||
|
game-name = "Lgm's Factorio Game";
|
||
|
openFirewall = true;
|
||
|
autosave-interval = 5;
|
||
|
extraSettings = {
|
||
|
autosave-slots = 8;
|
||
|
};
|
||
|
extraSettingsFile = "/var/lib/${config.services.factorio.stateDirName}/server-settings-extra.json";
|
||
|
};
|
||
|
}
|