git.iko.soy/typeable/nixpkgs
on master help sign in
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.

commit16234769046a1edb4451fbdf0745c09a6c158527 authorRicardo M. Correia <rcorreia@wizy.org> dateWed 10 Aug 2016, 19:37 (10 years ago) parent008344b
1 file changed+1
nixos/modules/security/acme.nix+1
nixos/modules/security/acme.nix+1
@@ -282,6 +282,7 @@ in
282282 timerConfig = {
283283 OnCalendar = cfg.renewInterval;
284284 Unit = "acme-${cert}.service";
285+ Persistent = "yes";
285286 };
286287 })
287288 );