2022-02-07 10:54:09 +00:00
|
|
|
{ config, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
services.recoll = {
|
|
|
|
enable = true;
|
|
|
|
package = config.lib.test.mkStubPackage { };
|
|
|
|
configDir = "${config.xdg.configHome}/recoll";
|
|
|
|
settings = {
|
2023-03-02 18:22:24 +00:00
|
|
|
dbdir = "~/.cache/recoll/xapiandb";
|
|
|
|
topdirs = [ "~/Downloads" "~/Documents" "~/library" ''~/"cool" files'' ];
|
2022-02-07 10:54:09 +00:00
|
|
|
"skippedNames+" = [ "node_modules" ];
|
|
|
|
underscoresasletter = true;
|
|
|
|
nocjk = false;
|
|
|
|
|
|
|
|
"~/library/projects" = {
|
|
|
|
"skippedNames+" =
|
|
|
|
[ ".editorconfig" ".gitignore" "result" "flake.lock" "go.sum" ];
|
|
|
|
};
|
|
|
|
|
|
|
|
"~/library/projects/software" = {
|
|
|
|
"skippedNames+" = [ "target" "result" ];
|
|
|
|
};
|
|
|
|
|
|
|
|
"~/what-is-this-project" = { "skippedNames+" = [ "whoa-there" ]; };
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
nmt.script = ''
|
|
|
|
assertFileExists home-files/.config/systemd/user/recollindex.service
|
|
|
|
assertFileExists home-files/.config/systemd/user/recollindex.timer
|
|
|
|
|
|
|
|
assertFileExists home-files/.config/recoll/recoll.conf
|
|
|
|
assertFileContent home-files/.config/recoll/recoll.conf \
|
|
|
|
${./basic-configuration.conf}
|
|
|
|
'';
|
|
|
|
}
|