From f78cfcd7d3f1f76a5c09c21d76b14983d8428c4d Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Mon, 10 Oct 2022 22:22:16 -0400 Subject: system: operating-system: Make the timezone field default to Etc/UTC. * gnu/system.scm () [timezone]: Default to "Etc/UTC". --- doc/guix.texi | 2 +- gnu/system.scm | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/guix.texi b/doc/guix.texi index be1b4fa378..5867acb746 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -16313,7 +16313,7 @@ The default set includes core utilities and it is good practice to install non-core utilities in user profiles (@pxref{Invoking guix package}). -@item @code{timezone} +@item @code{timezone} (default: @code{"Etc/UTC"}) A timezone identifying string---e.g., @code{"Europe/Paris"}. You can run the @command{tzselect} command to find out which timezone diff --git a/gnu/system.scm b/gnu/system.scm index 66ca629d63..b7f19d741a 100644 --- a/gnu/system.scm +++ b/gnu/system.scm @@ -265,7 +265,8 @@ VERSION is the target version of the boot-parameters record." (packages operating-system-packages ; list of (PACKAGE OUTPUT...) (default %base-packages)) ; or just PACKAGE - (timezone operating-system-timezone) ; string + (timezone operating-system-timezone + (default "Etc/UTC")) ; string (locale operating-system-locale ; string (default "en_US.utf8")) (locale-definitions operating-system-locale-definitions ; list of -- cgit v1.2.3