From 09822c30be34ff297425f7718fcb110509153cbb Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Sun, 30 Mar 2025 17:54:31 -0500 Subject: [PATCH] Don't use a public directory, instead add syncthing to the group. --- hosts/hub/apps/paperless.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hosts/hub/apps/paperless.nix b/hosts/hub/apps/paperless.nix index 5125bf7..5b00d5a 100644 --- a/hosts/hub/apps/paperless.nix +++ b/hosts/hub/apps/paperless.nix @@ -13,9 +13,7 @@ PAPERLESS_USE_X_FORWARD_PORT = true; PAPERLESS_REDIRECT_LOGIN_TO_SSO = true; }; - consumptionDirIsPublic = true; }; - caddy.virtualHosts."paperless.tailc50184.ts.net".extraConfig = '' bind tailscale/paperless forward_auth localhost:9091 { @@ -25,4 +23,5 @@ reverse_proxy localhost:28981 ''; }; + users.users.syncthing.extraGroups = [ "paperless" ]; }