~ruther/guix-local

503919fcf01d7eb8d550df5c3993aee9a966ba9b — Maxim Cournoyer 2 years ago 119febc
services: ntp: Default to an address that supports IPv6.

* gnu/services/networking.scm (%ntp-servers): Replace 0.guix.pool.ntp.org with
2.guix.pool.ntp.org.

Fixes: <https://issues.guix.gnu.org/71462>
Change-Id: I8bf3dc1cec58e7977c5369739b8662f817eeb186
1 files changed, 4 insertions(+), 2 deletions(-)

M gnu/services/networking.scm
M gnu/services/networking.scm => gnu/services/networking.scm +4 -2
@@ 547,11 547,13 @@ daemon is responsible for allocating IP addresses to its client.")))
  ;; Within Guix, Leo Famulari <leo@famulari.name> is the administrative contact
  ;; for this NTP pool "zone".
  ;; The full list of available URLs are 0.guix.pool.ntp.org,
  ;; 1.guix.pool.ntp.org, 2.guix.pool.ntp.org, and 3.guix.pool.ntp.org.
  ;; 1.guix.pool.ntp.org, 2.guix.pool.ntp.org, and 3.guix.pool.ntp.org.  We
  ;; use 2.guix.pool.ntp.org as default as it supports IPv6, contrary to the
  ;; others.
  (list
   (ntp-server
    (type 'pool)
    (address "0.guix.pool.ntp.org")
    (address "2.guix.pool.ntp.org")
    (options '("iburst")))))               ;as recommended in the ntpd manual

(define-record-type* <ntp-configuration>