update paperless group permissions

This commit is contained in:
Noah Masur 2024-01-21 02:13:10 +00:00
parent fc2484227a
commit 161c1f46b0

View File

@ -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
};
}