factorio: make sure that everything has the right permissions
This commit is contained in:
parent
9702b25505
commit
0cd7b6f53c
|
@ -39,7 +39,7 @@ in
|
||||||
};
|
};
|
||||||
templates."extraSettingsFile.json".content = ''
|
templates."extraSettingsFile.json".content = ''
|
||||||
{
|
{
|
||||||
"name": "SpaceAgeHolli",
|
"name": "WarptorioHolli",
|
||||||
"description": "Trying to run a factorio-headless-server on my nix system",
|
"description": "Trying to run a factorio-headless-server on my nix system",
|
||||||
"tags": ["vanilla"],
|
"tags": ["vanilla"],
|
||||||
"max_players": 10,
|
"max_players": 10,
|
||||||
|
@ -55,7 +55,8 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.tmpfiles.rules = [
|
systemd.tmpfiles.rules = [
|
||||||
"Z /var/lib/factorio 770 65400 65400 - -"
|
"Z /var/lib/factorio/mods 770 65400 65400 - -"
|
||||||
|
"Z /var/lib/factorio/saves 770 65400 65400 - -"
|
||||||
];
|
];
|
||||||
|
|
||||||
services.factorio = {
|
services.factorio = {
|
||||||
|
@ -65,7 +66,7 @@ in
|
||||||
lan = true;
|
lan = true;
|
||||||
nonBlockingSaving = true;
|
nonBlockingSaving = true;
|
||||||
autosave-interval = 15;
|
autosave-interval = 15;
|
||||||
saveName = "SpaceAge";
|
saveName = "Warptorio";
|
||||||
admins = [
|
admins = [
|
||||||
"daholli"
|
"daholli"
|
||||||
"galbrain"
|
"galbrain"
|
||||||
|
|
Loading…
Reference in a new issue