From 0fe80e4e59433901d1efaaf710c8d096c1ac6b39 Mon Sep 17 00:00:00 2001
From: Jean-Paul Calderone <exarkun@twistedmatrix.com>
Date: Fri, 1 Nov 2019 19:15:04 -0400
Subject: [PATCH] perhaps not necessary

maybe the other systemd timer fires right away too
---
 nixos/modules/issuer.nix | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/nixos/modules/issuer.nix b/nixos/modules/issuer.nix
index fa3793b0..2cd63cea 100644
--- a/nixos/modules/issuer.nix
+++ b/nixos/modules/issuer.nix
@@ -134,20 +134,6 @@ in {
       }
       else {};
 
-    systemd.timers = if cfg.tls
-      then {
-        "acme-${cfg.domain}-initial" = config.systemd.timers."acme-${cfg.domain}" // {
-          timerConfig = {
-            OnUnitActiveSec = "0";
-            Unit = "acme-${cfg.domain}.service";
-            Persistent = "yes";
-            AccuracySec = "1us";
-            RandomizedDelaySec = "0s";
-          };
-        };
-      }
-      else {};
-
     services.nginx.virtualHosts = if cfg.tls
       then {
         "${cfg.domain}" = {
-- 
GitLab