nixpkgs/nixos
Emily 7b14bbd734 nixos/acme: adjust renewal timer options
The current weekly setting causes every NixOS server to try to renew
its certificate at midnight on the dot on Monday. This contributes to
the general problem of periodic load spikes for Let's Encrypt; NixOS
is probably not a major contributor to that problem, but we can lead by
example by picking good defaults here.

The values here were chosen after consulting with @yuriks, an SRE at
Let's Encrypt:

* Randomize the time certificates are renewed within a 24 hour period.

* Check for renewal every 24 hours, to ensure the certificate is always
  renewed before an expiry notice is sent out.

* Increase the AccuracySec (thus lowering the accuracy(!)), so that
  systemd can coalesce the renewal with other timers being run.

  (You might be worried that this would defeat the purpose of the time
  skewing, but systemd is documented as avoiding this by picking a
  random time.)
2020-02-29 14:03:36 +00:00
..
doc Merge pull request #71079 from gnidorah/theming 2020-02-21 18:52:52 +01:00
lib nixosTests: Make VLAN argument optional in python test driver 2020-02-14 19:05:03 +01:00
maintainers maintainers/create-azure.sh: run from anywhere 2020-01-09 20:54:28 +00:00
modules nixos/acme: adjust renewal timer options 2020-02-29 14:03:36 +00:00
tests nixos/tinydns: use local dns server to fix test 2020-02-19 12:27:29 -08:00
COPYING
default.nix
README
release-combined.nix release-combined.tested: readd boot.biosUsb test 2020-02-22 10:43:26 +01:00
release-small.nix nixos/release-small.nix: List constituents of the 'tested' job by name 2020-02-17 16:37:10 +01:00
release.nix nixos/release.nix: Import './..' instead of nixpkgs 2020-02-12 22:44:59 +01:00

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
http://nixos.org/nixos and in the manual in doc/manual.