summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo M. Correia <rcorreia@wizy.org>2016-08-10 19:37:11 +0200
committerRicardo M. Correia <rcorreia@wizy.org>2016-10-03 19:31:42 +0200
commit16234769046a1edb4451fbdf0745c09a6c158527 (patch)
tree32e65baadb0cefd0d68dd529f535ced45b13fd83
parent008344b29a9dceb35b3ef78fe759875aba6cab9b (diff)
downloadnixlib-16234769046a1edb4451fbdf0745c09a6c158527.tar
nixlib-16234769046a1edb4451fbdf0745c09a6c158527.tar.gz
nixlib-16234769046a1edb4451fbdf0745c09a6c158527.tar.bz2
nixlib-16234769046a1edb4451fbdf0745c09a6c158527.tar.lz
nixlib-16234769046a1edb4451fbdf0745c09a6c158527.tar.xz
nixlib-16234769046a1edb4451fbdf0745c09a6c158527.tar.zst
nixlib-16234769046a1edb4451fbdf0745c09a6c158527.zip
nixos.acme: make timer persistent
This makes sure that if the system was powered off when the timer was
supposed to trigger, it will run the next time the system boots up.
-rw-r--r--nixos/modules/security/acme.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/security/acme.nix b/nixos/modules/security/acme.nix
index 1a2b8779e007..12736e57b4a6 100644
--- a/nixos/modules/security/acme.nix
+++ b/nixos/modules/security/acme.nix
@@ -282,6 +282,7 @@ in
           timerConfig = {
             OnCalendar = cfg.renewInterval;
             Unit = "acme-${cert}.service";
+            Persistent = "yes";
           };
         })
       );