Compare commits

...

2 commits

Author SHA1 Message Date
853e5a3d99 revert dir set
All checks were successful
Activate Homelab Configuration / rebuild (push) Successful in 38s
2026-05-01 07:50:23 +07:00
19c95a7d70 fix perms error 2026-05-01 07:50:17 +07:00
2 changed files with 7 additions and 7 deletions

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

View file

@ -21,7 +21,6 @@ in {
certs."${homelab.proxy.base}" = {
domain = "*.${homelab.proxy.base}";
extraDomainNames = [ homelab.proxy.base ];
directory = "/mnt/data/apps/acme/${homelab.proxy.base}";
environmentFile = "/mnt/data/apps/acme/cf-api.env";
dnsProvider = "cloudflare";
# ^^^contents: CLOUDFLARE_DNS_API_TOKEN=XXXXX