mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 01:44: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 {
|
||||
type = types.path;
|
||||
description = "Password for the defaultUser for FreshRSS.";
|
||||
description = "Location of the FreshRSS data.";
|
||||
example = "/run/secrets/freshrss";
|
||||
};
|
||||
|
||||
|
@ -37,7 +37,7 @@ in
|
|||
config = lib.mkIf cfg.enable {
|
||||
services.paperless = {
|
||||
enable = true;
|
||||
inherit (cfg) port mediaDir;
|
||||
inherit (cfg) port mediaDir passwordFile;
|
||||
extraConfig = {
|
||||
PAPERLESS_OCR_LANGUAGE = "deu+eng";
|
||||
} // cfg.extraConfig;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue