]> git.immae.eu Git - perso/Immae/Config/Nix.git/commitdiff
Fix acme scripts starting before bind
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Mon, 27 Apr 2020 23:40:28 +0000 (01:40 +0200)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Mon, 27 Apr 2020 23:40:28 +0000 (01:40 +0200)
modules/private/certificates.nix

index b9c0860bc08c53b583697f9539df1309ad1728b6..c564d34f17832d784875ef60ea0950b9e23a4198 100644 (file)
@@ -60,6 +60,7 @@
       ) config.security.acme.certs //
     lib.attrsets.mapAttrs' (k: data:
       lib.attrsets.nameValuePair "acme-${k}" {
+        after = lib.mkAfter [ "bind.service" ];
         serviceConfig.ExecStartPre =
           let
             script = pkgs.writeScript "acme-pre-start" ''