From 31345193f0383e9979363f219136ead24ce075c3 Mon Sep 17 00:00:00 2001 From: Fritz Otlinghaus Date: Sun, 24 Jan 2021 13:50:35 +0100 Subject: nixos/chrony: add types --- nixos/modules/services/networking/ntp/chrony.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/services/networking/ntp/chrony.nix b/nixos/modules/services/networking/ntp/chrony.nix index 5e05a327a3f..96c6444c23a 100644 --- a/nixos/modules/services/networking/ntp/chrony.nix +++ b/nixos/modules/services/networking/ntp/chrony.nix @@ -82,6 +82,7 @@ in }; initstepslew = mkOption { + type = types.attrsOf (types.either types.bool types.int); default = { enabled = true; threshold = 1000; # by default, same threshold as 'ntpd -g' (1000s) -- cgit 1.4.1