summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ymir.nix8
1 files changed, 3 insertions, 5 deletions
diff --git a/ymir.nix b/ymir.nix
index b30e193d..f31fe2d6 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -851,11 +851,9 @@ in rec {
851 }; 851 };
852 852
853 systemd.services."acme-yggdrasil.li".requires = [ "nginx.service" ]; 853 systemd.services."acme-yggdrasil.li".requires = [ "nginx.service" ];
854 systemd.services."acme-yggdrasil.li".preStart 854 systemd.tmpfiles.rules
855 = let mkDir = domain: '' 855 = let mkDir = domain: "d /srv/www/acme/${domain} 0750 root ssl 10d -";
856 install -v -d -g ssl -m 2750 /srv/www/acme/${domain} 856 in map mkDir myDomains;
857 '';
858 in concatStringsSep "\n" (map mkDir myDomains);
859 857
860 services.uucp = { 858 services.uucp = {
861 enable = true; 859 enable = true;