universe/hosts/Infini-OPTIPLEX/factorio.nix

20 lines
341 B
Nix

{ config, private, ... }:
{
services.factorio = {
enable = true;
openFirewall = true;
loadLatestSave = true;
stateDir = "/srv/factorio";
admins = [ "Infinidoge" ];
game-name = "Hacktorio";
game-password = private.variables.factorio-password;
mapGenSettings = {
seed = "2239686687";
};
};
}