Skip to content
Snippets Groups Projects
Verified Commit a0e195a0 authored by Nicolas Lenz's avatar Nicolas Lenz :snowflake:
Browse files

feat(sapphire): add paperless consumption dir as samba share

parent 19670fa5
No related branches found
No related tags found
No related merge requests found
...@@ -12,6 +12,7 @@ See: https://wiki.archlinux.org/title/Samba ...@@ -12,6 +12,7 @@ See: https://wiki.archlinux.org/title/Samba
let let
pathScans = "${config.users.users.eisfunke.home}/scans"; pathScans = "${config.users.users.eisfunke.home}/scans";
pathPaperless = config.services.paperless.consumptionDir;
in { in {
/* /*
- Samba users must exist as Linux users - Samba users must exist as Linux users
...@@ -78,6 +79,17 @@ in { ...@@ -78,6 +79,17 @@ in {
"create mask" = "0644"; "create mask" = "0644";
"directory mask" = "0755"; "directory mask" = "0755";
}; };
paperless = {
"path" = pathPaperless;
"read only" = "no";
"valid users" = "eisfunke muriel";
"force user" = "paperless";
"create mask" = "0644";
"directory mask" = "0755";
};
}; };
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment