networking, chrony, ntpd, timesyncd: add timeServers option type

This commit is contained in:
Scriptkiddi 2021-01-20 10:54:24 +01:00
parent 734ffbe483
commit 1572940688
No known key found for this signature in database
GPG key ID: F7FBBF6334AF4872
4 changed files with 4 additions and 0 deletions

View file

@ -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.
'';

View file

@ -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.
'';

View file

@ -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.
'';

View file

@ -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.
'';