diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2021-01-24 14:18:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-24 14:18:51 +0100 |
commit | 0dd579a3e6f53dda3bec15f1f298a6e9fc023c70 (patch) | |
tree | 05e03b019dc5e1462d58b4c4d303774b0ebeb03e /nixos | |
parent | 513a3ea66508726937f65c257c79edd67059cef6 (diff) | |
parent | 31345193f0383e9979363f219136ead24ce075c3 (diff) | |
download | nixpkgs-0dd579a3e6f53dda3bec15f1f298a6e9fc023c70.tar nixpkgs-0dd579a3e6f53dda3bec15f1f298a6e9fc023c70.tar.gz nixpkgs-0dd579a3e6f53dda3bec15f1f298a6e9fc023c70.tar.bz2 nixpkgs-0dd579a3e6f53dda3bec15f1f298a6e9fc023c70.tar.lz nixpkgs-0dd579a3e6f53dda3bec15f1f298a6e9fc023c70.tar.xz nixpkgs-0dd579a3e6f53dda3bec15f1f298a6e9fc023c70.tar.zst nixpkgs-0dd579a3e6f53dda3bec15f1f298a6e9fc023c70.zip |
Merge pull request #110686 from helsinki-systems/chrony_types
nixos/chrony: add types
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/networking/ntp/chrony.nix | 1 |
1 files changed, 1 insertions, 0 deletions
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) |