diff options
-rw-r--r-- | ymir.nix | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 ++ [ |