diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2021-10-19 19:07:10 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2021-10-19 19:07:10 +0200 |
commit | a76cb7969d14bb0ea0f3ebdc0b2e79d140b58878 (patch) | |
tree | 51b1a80e17dc0878a8067e59f9daea9855e48a35 | |
parent | 5dc864cb3a6cad93b58a8fe8ec46ad5f8c673c9d (diff) | |
download | nixos-a76cb7969d14bb0ea0f3ebdc0b2e79d140b58878.tar nixos-a76cb7969d14bb0ea0f3ebdc0b2e79d140b58878.tar.gz nixos-a76cb7969d14bb0ea0f3ebdc0b2e79d140b58878.tar.bz2 nixos-a76cb7969d14bb0ea0f3ebdc0b2e79d140b58878.tar.xz nixos-a76cb7969d14bb0ea0f3ebdc0b2e79d140b58878.zip |
...
-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 ++ [ |