summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ymir.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/ymir.nix b/ymir.nix
index 28daf36f..3814761b 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -805,7 +805,12 @@ in rec {
805 }; 805 };
806 }; 806 };
807 807
808 systemd.services."acme-yggdrasil.li".requires = [ "nginx.service" ]; 808 systemd.services."acme-yggdrasil.li" = {
809 requires = [ "nginx.service" ];
810 serviceConfig = {
811 ReadWritePaths = [ "/srv/www/acme" ];
812 };
813 };
809 systemd.tmpfiles.rules 814 systemd.tmpfiles.rules
810 = let mkAcmeDir = domain: "d /srv/www/acme 0775 root ssl 10d -"; 815 = let mkAcmeDir = domain: "d /srv/www/acme 0775 root ssl 10d -";
811 in map mkAcmeDir myDomains ++ [ 816 in map mkAcmeDir myDomains ++ [