{ 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"; }; }