diff options
author | Austin Seipp <aseipp@pobox.com> | 2019-02-23 01:19:06 -0600 |
---|---|---|
committer | Austin Seipp <aseipp@pobox.com> | 2019-09-12 11:45:51 -0500 |
commit | 83180ea41f79f38d4f91923ff2480fa69393cb19 (patch) | |
tree | fe6716d3feeb0a0257d7d07c933935c983727dc4 /nixos | |
parent | 0aee12e0b3d4fdaca6a06b1e694b4a79f72e3240 (diff) | |
download | nixlib-83180ea41f79f38d4f91923ff2480fa69393cb19.tar nixlib-83180ea41f79f38d4f91923ff2480fa69393cb19.tar.gz nixlib-83180ea41f79f38d4f91923ff2480fa69393cb19.tar.bz2 nixlib-83180ea41f79f38d4f91923ff2480fa69393cb19.tar.lz nixlib-83180ea41f79f38d4f91923ff2480fa69393cb19.tar.xz nixlib-83180ea41f79f38d4f91923ff2480fa69393cb19.tar.zst nixlib-83180ea41f79f38d4f91923ff2480fa69393cb19.zip |
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 <aseipp@pobox.com>
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/networking/ntp/chrony.nix | 2 |
1 files changed, 1 insertions, 1 deletions
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 != [])) |