rexxar: reset for space exploration

This commit is contained in:
Luke Granger-Brown 2024-06-09 22:43:57 +00:00
parent 31c4d10362
commit 50e8314d6d
3 changed files with 25 additions and 4 deletions

View file

@ -1,4 +1,4 @@
Krastorio2
FluidMustFlow
space-exploration-official-modpack
RecipeBook
VehicleSnap
BottleneckLite
solar-calc

File diff suppressed because one or more lines are too long

View file

@ -80,6 +80,7 @@
firewall = {
allowedUDPPorts = [
51821 51822 51823
34197 # factorio
];
};
};
@ -311,6 +312,7 @@
in [
(bindMountSvc "/var/lib/tailscale" "tailscaled.service")
(bindMountSvc "/var/lib/libvirt" "libvirt.service")
(bindMountSvc "/var/lib/private/factorio" "factorio.service")
];
boot.kernel.sysctl = {
@ -356,5 +358,24 @@
];
};
services.factorio = {
inherit (depot.ops.secrets.factorio) username token;
enable = true;
saveName = "lukegb20240512-spaceexploration";
game-name = "Briefcase Full of Bees";
mods = depot.nix.pkgs.factorio-mods._all;
#mods-dat = ./mod-settings.dat;
admins = ["lukegb"];
extraSettings = {
auto_pause = true;
only_admins_can_pause_the_game = false;
game_password = depot.ops.secrets.factorioServerPassword;
non_blocking_saving = true;
autosave_only_on_server = true;
autosave_interval = 5;
autosave_slots = 60;
};
};
system.stateVersion = "24.05";
}