fix: fix paperless dataDir for user ben
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
4f42b5faff
commit
16412872a3
|
@ -7,6 +7,7 @@
|
|||
...
|
||||
}: let
|
||||
psCfg = config.pub-solar;
|
||||
xdg = config.home-manager.users."${psCfg.user.name}".xdg;
|
||||
in {
|
||||
imports = [
|
||||
./home.nix
|
||||
|
@ -47,7 +48,7 @@ in {
|
|||
paperless = {
|
||||
enable = true;
|
||||
ocrLanguage = "nld+deu";
|
||||
dataDir = "/home/${psCfg.user.name}/Nextcloud/Paperless";
|
||||
dataDir = "${xdg.dataHome}/Paperless";
|
||||
consumptionDir = "/home/${psCfg.user.name}/.local/share/scandir";
|
||||
scannerDefaultDevice = "hp3900:libusb:005:004";
|
||||
sync.enable = true;
|
||||
|
|
Loading…
Reference in a new issue