diff options
author | Fritz Otlinghaus <fritz@otlinghaus.it> | 2021-01-24 13:50:35 +0100 |
---|---|---|
committer | Fritz Otlinghaus <fritz@otlinghaus.it> | 2021-01-24 13:50:35 +0100 |
commit | 31345193f0383e9979363f219136ead24ce075c3 (patch) | |
tree | 97c4555b03155dc9f41bc61a332b1d2dee7a5d3e | |
parent | e63d0738a7e81c463342003810046c483c2ef745 (diff) | |
download | nixpkgs-31345193f0383e9979363f219136ead24ce075c3.tar nixpkgs-31345193f0383e9979363f219136ead24ce075c3.tar.gz nixpkgs-31345193f0383e9979363f219136ead24ce075c3.tar.bz2 nixpkgs-31345193f0383e9979363f219136ead24ce075c3.tar.lz nixpkgs-31345193f0383e9979363f219136ead24ce075c3.tar.xz nixpkgs-31345193f0383e9979363f219136ead24ce075c3.tar.zst nixpkgs-31345193f0383e9979363f219136ead24ce075c3.zip |
nixos/chrony: add types
-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) |