aboutsummaryrefslogtreecommitdiff
path: root/modules/private
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2020-04-28 01:40:28 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2020-04-28 01:40:28 +0200
commit37465bc7b0601bbeb8ec84c728ef50f58788707a (patch)
tree63208c3138086b290dd9993b04905193b07269f1 /modules/private
parentde6002a102eb825678bebe12b13a119263e59eef (diff)
downloadNix-37465bc7b0601bbeb8ec84c728ef50f58788707a.tar.gz
Nix-37465bc7b0601bbeb8ec84c728ef50f58788707a.tar.zst
Nix-37465bc7b0601bbeb8ec84c728ef50f58788707a.zip
Fix acme scripts starting before bind
Diffstat (limited to 'modules/private')
-rw-r--r--modules/private/certificates.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/private/certificates.nix b/modules/private/certificates.nix
index b9c0860..c564d34 100644
--- a/modules/private/certificates.nix
+++ b/modules/private/certificates.nix
@@ -60,6 +60,7 @@
60 ) config.security.acme.certs // 60 ) config.security.acme.certs //
61 lib.attrsets.mapAttrs' (k: data: 61 lib.attrsets.mapAttrs' (k: data:
62 lib.attrsets.nameValuePair "acme-${k}" { 62 lib.attrsets.nameValuePair "acme-${k}" {
63 after = lib.mkAfter [ "bind.service" ];
63 serviceConfig.ExecStartPre = 64 serviceConfig.ExecStartPre =
64 let 65 let
65 script = pkgs.writeScript "acme-pre-start" '' 66 script = pkgs.writeScript "acme-pre-start" ''