factorio-headlless: latest-version

This commit is contained in:
Christoph Hollizeck 2024-10-22 02:06:52 +02:00
parent b4ff44cb09
commit 1e5ec21cf9
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 1763BB530F50279E
4 changed files with 16 additions and 10 deletions

View file

@ -16,7 +16,7 @@ in
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [ factorio-headless ];
environment.systemPackages = with pkgs; [ pkgs.factorio-headless ];
sops = {
secrets = {
factorio_token = {
@ -31,7 +31,7 @@ in
};
templates."extraSettingsFile.json".content = ''
{
"name": "Alles Nix!",
"name": "SpaceAge",
"description": "Trying to run a factorio-headless-server on my nix system",
"tags": ["vanilla"],
"max_players": 10,
@ -54,7 +54,7 @@ in
lan = true;
nonBlockingSaving = true;
autosave-interval = 5;
loadLatestSave = true;
saveName = "SpaceAge";
extraSettingsFile = config.sops.templates."extraSettingsFile.json".path;
};
};