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}";
|
||||
data-dir = "/mnt/data/apps/cryptpad";
|
||||
in {
|
||||
systemd.tmpfiles.rules = [
|
||||
"d ${data-dir} 0750 cryptpad cryptpad -"
|
||||
];
|
||||
|
||||
services.cryptpad = {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
|
@ -27,5 +23,8 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
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}" = {
|
||||
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