From 83180ea41f79f38d4f91923ff2480fa69393cb19 Mon Sep 17 00:00:00 2001 From: Austin Seipp Date: Sat, 23 Feb 2019 01:19:06 -0600 Subject: nixos/chrony: set iburst for ntp servers 'iburst' allows chrony to make very quick adjustments to the clock by doing a couple rapid measurements outside of the default 'minpoll' option. This helps improve rapid time adjustment at boot, and is enabled by default. Signed-off-by: Austin Seipp --- nixos/modules/services/networking/ntp/chrony.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nixos/modules') diff --git a/nixos/modules/services/networking/ntp/chrony.nix b/nixos/modules/services/networking/ntp/chrony.nix index 4736069fd37a..08e58873acad 100644 --- a/nixos/modules/services/networking/ntp/chrony.nix +++ b/nixos/modules/services/networking/ntp/chrony.nix @@ -9,7 +9,7 @@ let keyFile = "${stateDir}/chrony.keys"; configFile = pkgs.writeText "chrony.conf" '' - ${concatMapStringsSep "\n" (server: "server " + server) cfg.servers} + ${concatMapStringsSep "\n" (server: "server " + server + " iburst") cfg.servers} ${optionalString (cfg.initstepslew.enabled && (cfg.servers != [])) -- cgit 1.4.1