Merge pull request #110686 from helsinki-systems/chrony_types

nixos/chrony: add types
This commit is contained in:
Sandro 2021-01-24 14:18:51 +01:00 committed by GitHub
commit 0dd579a3e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)