diff --git a/modules/nixos/services/paperless.nix b/modules/nixos/services/paperless.nix index 19691c5..6f22369 100644 --- a/modules/nixos/services/paperless.nix +++ b/modules/nixos/services/paperless.nix @@ -17,7 +17,9 @@ }; }; - users.users.paperless.extraGroups = [ "generic" ]; + # Allow Nextcloud and user to see files + users.users.nextcloud.extraGroups = [ "paperless" ]; + users.users.${config.user}.extraGroups = [ "paperless" ]; caddy.routes = [{ match = [{ @@ -45,6 +47,8 @@ before = [ "paperless.service" ]; }; + # TODO: Scheduled permissions fix with systemd timer + }; }