nixos/chrony: add types

This commit is contained in:
Fritz Otlinghaus
2021-01-24 13:50:35 +01:00
parent e63d0738a7
commit 31345193f0
@@ -82,6 +82,7 @@ in
}; };
initstepslew = mkOption { initstepslew = mkOption {
type = types.attrsOf (types.either types.bool types.int);
default = { default = {
enabled = true; enabled = true;
threshold = 1000; # by default, same threshold as 'ntpd -g' (1000s) threshold = 1000; # by default, same threshold as 'ntpd -g' (1000s)