Files
infra/modules/clan/paperless/default.nix
T
kurogeek 20868891e8 clanService/paperless: drop psycopg test workaround
The test_stats_connect override was a stopgap for nixpkgs#494510, fixed
upstream in #494536. It forced a rebuild of the whole python package set
(psycopg -> pytest-postgresql -> sqlframe -> narwhals -> scikit-learn),
which broke on a flaky scikit-learn test.
2026-09-07 09:37:14 +00:00

27 lines
712 B
Nix

{ ... }:
{
_class = "clan.service";
manifest.name = "paperless";
manifest.description = "A community-supported supercharged document management system: scan, index and archive all your documents";
manifest.readme = "A community-supported supercharged document management system: scan, index and archive all your documents";
manifest.categories = [ "System" ];
roles.default = {
description = "a default server role";
perInstance.nixosModule =
{
lib,
config,
...
}:
{
services.paperless = {
enable = lib.mkDefault true;
};
clan.core.state.paperless.folders = [ config.services.paperless.dataDir ];
};
};
}