universe/hosts/Infini-OPTIPLEX/factorio.nix

16 lines
283 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;
};
}