This commit is contained in:
Shelvacu
2025-07-25 03:33:41 -07:00
committed by Shelvacu on nix-on-droid
parent 17e7c71ec1
commit e6667934b0

View File

@@ -127,23 +127,28 @@ in
cacheDir = mkOption {
type = types.path;
default = "${cfg.baseDir}/cache";
defaultText = lib.literalText ''/''${baseDir}/cache'';
};
dataDir = mkOption {
type = types.path;
default = "${cfg.baseDir}/data";
defaultText = lib.literalText ''/''${baseDir}/data'';
};
downloadDir = mkOption {
type = types.path;
default = "${cfg.baseDir}/download";
defaultText = lib.literalText ''/''${baseDir}/download'';
};
logDir = mkOption {
type = types.path;
default = "${cfg.baseDir}/log";
defaultText = lib.literalText ''/''${baseDir}/log'';
};
clientLoginPath = mkOption {
type = types.path;
default = "${cfg.dataDir}/client_login";
defaultText = lib.literalText ''/''${dataDir}/client_login'';
readOnly = true;
internal = true;
description = "File containing the credentials, in the format {client_id}`-`{client_key}";