stuff
This commit is contained in:

committed by
Shelvacu on nix-on-droid

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