mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 18:41:34 +01:00
20 lines
413 B
Nix
20 lines
413 B
Nix
{
|
|
containers.paperless.config =
|
|
{
|
|
config,
|
|
dataDir,
|
|
...
|
|
}:
|
|
{
|
|
sops.secrets."paperless-admin-password" = { };
|
|
|
|
services.paperless = {
|
|
enable = true;
|
|
inherit dataDir;
|
|
passwordFile = config.sops.secrets."paperless-admin-password".path;
|
|
settings.PAPERLESS_OCR_LANGUAGE = "deu+eng";
|
|
};
|
|
|
|
myConfig.tailscale.serve = "28981";
|
|
};
|
|
}
|