mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
nixos/paperless: fix passwordFile
This commit is contained in:
parent
caab5b2d3e
commit
72a34c777a
1 changed files with 2 additions and 2 deletions
|
@ -23,7 +23,7 @@ in
|
||||||
|
|
||||||
mediaDir = mkOption {
|
mediaDir = mkOption {
|
||||||
type = types.path;
|
type = types.path;
|
||||||
description = "Password for the defaultUser for FreshRSS.";
|
description = "Location of the FreshRSS data.";
|
||||||
example = "/run/secrets/freshrss";
|
example = "/run/secrets/freshrss";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ in
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
services.paperless = {
|
services.paperless = {
|
||||||
enable = true;
|
enable = true;
|
||||||
inherit (cfg) port mediaDir;
|
inherit (cfg) port mediaDir passwordFile;
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
PAPERLESS_OCR_LANGUAGE = "deu+eng";
|
PAPERLESS_OCR_LANGUAGE = "deu+eng";
|
||||||
} // cfg.extraConfig;
|
} // cfg.extraConfig;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue