diff options
author | Scriptkiddi <fritz@otlinghaus.it> | 2021-01-20 10:54:24 +0100 |
---|---|---|
committer | Scriptkiddi <fritz@otlinghaus.it> | 2021-01-20 10:54:24 +0100 |
commit | 1572940688927226c53182aa8595f2e2bc196ecf (patch) | |
tree | db9bd7dd0c8d2eba9a5f61d68d9b0e8b25b09bcd /nixos/modules | |
parent | 734ffbe48346aa449e7493a21906b2a76d7a4d1a (diff) |
networking, chrony, ntpd, timesyncd: add timeServers option type
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/config/networking.nix | 1 | ||||
-rw-r--r-- | nixos/modules/services/networking/ntp/chrony.nix | 1 | ||||
-rw-r--r-- | nixos/modules/services/networking/ntp/ntpd.nix | 1 | ||||
-rw-r--r-- | nixos/modules/system/boot/timesyncd.nix | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/nixos/modules/config/networking.nix b/nixos/modules/config/networking.nix index c09588834cf1..ef747774b25a 100644 --- a/nixos/modules/config/networking.nix +++ b/nixos/modules/config/networking.nix @@ -58,6 +58,7 @@ in "2.nixos.pool.ntp.org" "3.nixos.pool.ntp.org" ]; + type = types.listOf types.str; description = '' The set of NTP servers from which to synchronise. ''; diff --git a/nixos/modules/services/networking/ntp/chrony.nix b/nixos/modules/services/networking/ntp/chrony.nix index e6fa48daf46c..115340924a25 100644 --- a/nixos/modules/services/networking/ntp/chrony.nix +++ b/nixos/modules/services/networking/ntp/chrony.nix @@ -41,6 +41,7 @@ in servers = mkOption { default = config.networking.timeServers; + type = types.listOf types.str; description = '' The set of NTP servers from which to synchronise. ''; diff --git a/nixos/modules/services/networking/ntp/ntpd.nix b/nixos/modules/services/networking/ntp/ntpd.nix index 51398851adc6..861b0db01a48 100644 --- a/nixos/modules/services/networking/ntp/ntpd.nix +++ b/nixos/modules/services/networking/ntp/ntpd.nix @@ -79,6 +79,7 @@ in servers = mkOption { default = config.networking.timeServers; + type = types.listOf types.str; description = '' The set of NTP servers from which to synchronise. ''; diff --git a/nixos/modules/system/boot/timesyncd.nix b/nixos/modules/system/boot/timesyncd.nix index 35fb5578b070..692315dbe99c 100644 --- a/nixos/modules/system/boot/timesyncd.nix +++ b/nixos/modules/system/boot/timesyncd.nix @@ -16,6 +16,7 @@ with lib; }; servers = mkOption { default = config.networking.timeServers; + type = types.listOf types.str; description = '' The set of NTP servers from which to synchronise. ''; |