services: ntp: Allow large adjustment by default.
This is documented as best practice in `man ntpd', and is required to allow the date to be set correctly when traveling (without having to manually update the hardware clock in the BIOS/UEFI). * gnu/services/networking.scm (<ntp-server>)[allow-large-adjustment?]: Set the default value to #t. * doc/guix.texi (Networking Services): Update documentation.
This commit is contained in:
parent
861b9a365b
commit
08b4a10fa6
|
@ -13050,7 +13050,7 @@ This is the data type for the NTP service configuration.
|
|||
This is the list of servers (host names) with which @command{ntpd} will be
|
||||
synchronized.
|
||||
|
||||
@item @code{allow-large-adjustment?} (default: @code{#f})
|
||||
@item @code{allow-large-adjustment?} (default: @code{#t})
|
||||
This determines whether @command{ntpd} is allowed to make an initial
|
||||
adjustment of more than 1,000 seconds.
|
||||
|
||||
|
|
|
@ -315,7 +315,7 @@ Protocol (DHCP) client, on all the non-loopback network interfaces."
|
|||
(servers ntp-configuration-servers
|
||||
(default %ntp-servers))
|
||||
(allow-large-adjustment? ntp-allow-large-adjustment?
|
||||
(default #f)))
|
||||
(default #t))) ;as recommended in the ntpd manual
|
||||
|
||||
(define ntp-shepherd-service
|
||||
(match-lambda
|
||||
|
|
Loading…
Reference in New Issue