Revert "nixos/archisteamfarm: fix crash when web-ui is disabled"

This reverts commit 02e9c36e59.
This commit is contained in:
Sandro Jäckel 2024-07-26 16:27:19 +02:00
parent db459e0010
commit 316e779538
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -164,11 +164,8 @@ in
};
config = lib.mkIf cfg.enable {
services.archisteamfarm = {
# TODO: drop with 24.11
dataDir = lib.mkIf (lib.versionAtLeast config.system.stateVersion "24.05") (lib.mkDefault "/var/lib/asf");
settings.IPC = lib.mkIf (!cfg.web-ui.enable) false;
};
# TODO: drop with 24.11
services.archisteamfarm.dataDir = lib.mkIf (lib.versionAtLeast config.system.stateVersion "24.05") (lib.mkDefault "/var/lib/asf");
users = {
users.archisteamfarm = {