mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
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
2 changed files with 2 additions and 2 deletions
|
@ -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 @@ (define-record-type* <ntp-configuration>
|
|||
(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 a new issue