Compare commits
No commits in common. "853e5a3d99cc89795a8bdb5fe1d0a8f2cf26d6d3" and "9dbaf614846afc51ce9c58023d0dc6ad1104ffb8" have entirely different histories.
853e5a3d99
...
9dbaf61484
2 changed files with 7 additions and 7 deletions
|
|
@ -3,10 +3,6 @@
|
||||||
sandbox = "docs-sandbox.${homelab.domain}";
|
sandbox = "docs-sandbox.${homelab.domain}";
|
||||||
data-dir = "/mnt/data/apps/cryptpad";
|
data-dir = "/mnt/data/apps/cryptpad";
|
||||||
in {
|
in {
|
||||||
systemd.tmpfiles.rules = [
|
|
||||||
"d ${data-dir} 0750 cryptpad cryptpad -"
|
|
||||||
];
|
|
||||||
|
|
||||||
services.cryptpad = {
|
services.cryptpad = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
|
@ -26,6 +22,9 @@ in {
|
||||||
logPath = "${data-dir}/logs";
|
logPath = "${data-dir}/logs";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services.cryptpad.serviceConfig.ReadWritePaths = [ data-dir ];
|
systemd.services.cryptpad.serviceConfig = {
|
||||||
}
|
ReadWritePaths = [ data-dir ];
|
||||||
|
ProtectMountPoints = false;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -21,6 +21,7 @@ in {
|
||||||
certs."${homelab.proxy.base}" = {
|
certs."${homelab.proxy.base}" = {
|
||||||
domain = "*.${homelab.proxy.base}";
|
domain = "*.${homelab.proxy.base}";
|
||||||
extraDomainNames = [ homelab.proxy.base ];
|
extraDomainNames = [ homelab.proxy.base ];
|
||||||
|
directory = "/mnt/data/apps/acme/${homelab.proxy.base}";
|
||||||
environmentFile = "/mnt/data/apps/acme/cf-api.env";
|
environmentFile = "/mnt/data/apps/acme/cf-api.env";
|
||||||
dnsProvider = "cloudflare";
|
dnsProvider = "cloudflare";
|
||||||
# ^^^contents: CLOUDFLARE_DNS_API_TOKEN=XXXXX
|
# ^^^contents: CLOUDFLARE_DNS_API_TOKEN=XXXXX
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue