Merge pull request #313228 from SuperSandro2000/asf-no-web-ui

This commit is contained in:
Sandro 2024-05-23 13:12:54 +02:00 committed by GitHub
commit 445809871d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -164,8 +164,11 @@ in
};
config = lib.mkIf cfg.enable {
# TODO: drop with 24.11
services.archisteamfarm.dataDir = lib.mkIf (lib.versionAtLeast config.system.stateVersion "24.05") (lib.mkDefault "/var/lib/asf");
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;
};
users = {
users.archisteamfarm = {