summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2021-10-19 19:07:10 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2021-10-19 19:07:10 +0200
commita76cb7969d14bb0ea0f3ebdc0b2e79d140b58878 (patch)
tree51b1a80e17dc0878a8067e59f9daea9855e48a35
parent5dc864cb3a6cad93b58a8fe8ec46ad5f8c673c9d (diff)
downloadnixos-a76cb7969d14bb0ea0f3ebdc0b2e79d140b58878.tar
nixos-a76cb7969d14bb0ea0f3ebdc0b2e79d140b58878.tar.gz
nixos-a76cb7969d14bb0ea0f3ebdc0b2e79d140b58878.tar.bz2
nixos-a76cb7969d14bb0ea0f3ebdc0b2e79d140b58878.tar.xz
nixos-a76cb7969d14bb0ea0f3ebdc0b2e79d140b58878.zip
...
-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 ++ [