mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-09-13 22:12:03 +02:00
paperless: migrate as module
This commit is contained in:
parent
04bf033484
commit
2251c22311
2 changed files with 57 additions and 21 deletions
|
@ -1,21 +0,0 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
sops.secrets.paperless_password = { };
|
||||
|
||||
services.paperless = {
|
||||
enable = true;
|
||||
passwordFile = config.sops.secrets.paperless_password.path;
|
||||
mediaDir = "/srv/data/docs";
|
||||
extraConfig = {
|
||||
PAPERLESS_OCR_LANGUAGE = "deu+eng";
|
||||
};
|
||||
};
|
||||
webapps.apps.paperless = {
|
||||
dashboard = {
|
||||
name = "Paperless";
|
||||
category = "app";
|
||||
icon = "book";
|
||||
link = "https://docs.buehler.rocks";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue