This commit is contained in:
mjallen18
2025-10-21 11:31:20 -05:00
parent 2cfbc6d854
commit d61dfda3d5
9 changed files with 171 additions and 120 deletions

View File

@@ -28,10 +28,9 @@ let
serviceConfig = {
ExecStart = lib.mkForce "${lib.getExe pkgs.actual-server} --config ${cfg.dataDir}/config.json";
WorkingDirectory = lib.mkForce cfg.dataDir;
StateDirectory = lib.mkForce cfg.dataDir;
StateDirectoryMode = lib.mkForce 700;
DynamicUser = lib.mkForce false;
ProtectSystem = lib.mkForce null;
ProtectSystem = lib.mkForce "full";
};
};
};