diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2020-03-22 23:22:40 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2020-03-22 23:22:40 +0100 |
commit | 07479528ab2b4f4f648ffb2ebf1f83b265339cde (patch) | |
tree | c73ee1e12c58a92a488d422f9cf1b96f4b3c3b03 | |
parent | 275e0dd490015057cd71fd4c46dc7450cd8fbce2 (diff) | |
download | nixos-07479528ab2b4f4f648ffb2ebf1f83b265339cde.tar nixos-07479528ab2b4f4f648ffb2ebf1f83b265339cde.tar.gz nixos-07479528ab2b4f4f648ffb2ebf1f83b265339cde.tar.bz2 nixos-07479528ab2b4f4f648ffb2ebf1f83b265339cde.tar.xz nixos-07479528ab2b4f4f648ffb2ebf1f83b265339cde.zip |
...
-rw-r--r-- | ymir.nix | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -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; |