mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 02:18:26 +00:00
Add missing configs to nix modules
This commit is contained in:
@ -54,6 +54,10 @@ let
|
||||
older-than = "30 days";
|
||||
delete-batch = 100;
|
||||
};
|
||||
cleanup-remember-me = {
|
||||
enabled = true;
|
||||
older-than = "30 days";
|
||||
};
|
||||
};
|
||||
extraction = {
|
||||
pdf = {
|
||||
@ -517,6 +521,24 @@ in {
|
||||
of old files can be removed eventually.
|
||||
'';
|
||||
};
|
||||
cleanup-remember-me = mkOption {
|
||||
type = types.submodule({
|
||||
options = {
|
||||
enabled = mkOption {
|
||||
type = types.bool;
|
||||
default = defaults.house-keeping.cleanup-remember-me.enabled;
|
||||
description = "Whether this task is enabled.";
|
||||
};
|
||||
older-than = mkOption {
|
||||
type = types.str;
|
||||
default = defaults.house-keeping.cleanup-remember-me.older-than;
|
||||
description = "The miminum age of remember me tokens to delete.";
|
||||
};
|
||||
};
|
||||
});
|
||||
default = defaults.house-keeping.cleanup-remember-me;
|
||||
description = "Settings for cleaning up remember me tokens.";
|
||||
};
|
||||
};
|
||||
});
|
||||
default = defaults.house-keeping;
|
||||
|
Reference in New Issue
Block a user