Compare commits
2 commits
9dbaf61484
...
853e5a3d99
| Author | SHA1 | Date | |
|---|---|---|---|
| 853e5a3d99 | |||
| 19c95a7d70 |
2 changed files with 7 additions and 7 deletions
|
|
@ -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 ];
|
||||
}
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue