fix perms error

This commit is contained in:
Satria 2026-05-01 07:50:17 +07:00
commit 19c95a7d70

View file

@ -3,6 +3,10 @@
sandbox = "docs-sandbox.${homelab.domain}";
data-dir = "/mnt/data/apps/cryptpad";
in {
systemd.tmpfiles.rules = [
"d ${data-dir} 0750 cryptpad cryptpad -"
];
services.cryptpad = {
enable = true;
settings = {
@ -23,8 +27,5 @@ in {
};
};
systemd.services.cryptpad.serviceConfig = {
ReadWritePaths = [ data-dir ];
ProtectMountPoints = false;
};
systemd.services.cryptpad.serviceConfig.ReadWritePaths = [ data-dir ];
}