summary refs log tree commit diff
path: root/nixos/modules/config
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2014-12-15 16:28:40 +0100
committerPeter Simons <simons@cryp.to>2014-12-15 16:31:18 +0100
commit137ffc99292cd7dad0d192f1e088685beea1662c (patch)
tree5cda54336229cdb3a7e615a7b34b62e27b1c27a0 /nixos/modules/config
parent88412c865d930a22c193bb83255336f62e65a9a1 (diff)
downloadnixpkgs-137ffc99292cd7dad0d192f1e088685beea1662c.tar
nixpkgs-137ffc99292cd7dad0d192f1e088685beea1662c.tar.gz
nixpkgs-137ffc99292cd7dad0d192f1e088685beea1662c.tar.bz2
nixpkgs-137ffc99292cd7dad0d192f1e088685beea1662c.tar.lz
nixpkgs-137ffc99292cd7dad0d192f1e088685beea1662c.tar.xz
nixpkgs-137ffc99292cd7dad0d192f1e088685beea1662c.tar.zst
nixpkgs-137ffc99292cd7dad0d192f1e088685beea1662c.zip
Switch default timezone in NixOS from "CET" to "UTC".
Suggested in https://github.com/NixOS/nixpkgs/pull/5332.
Diffstat (limited to 'nixos/modules/config')
-rw-r--r--nixos/modules/config/timezone.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/nixos/modules/config/timezone.nix b/nixos/modules/config/timezone.nix
index c8592284077..06857139311 100644
--- a/nixos/modules/config/timezone.nix
+++ b/nixos/modules/config/timezone.nix
@@ -14,10 +14,14 @@ in
     time = {
 
       timeZone = mkOption {
-        default = "CET";
+        default = "UTC";
         type = types.str;
         example = "America/New_York";
-        description = "The time zone used when displaying times and dates.";
+        description = ''
+          The time zone used when displaying times and dates. See <link
+          xlink:href="https://en.wikipedia.org/wiki/List_of_tz_database_time_zones"/>
+          for a comprehensive list of possible values for this setting.
+        '';
       };
 
       hardwareClockInLocalTime = mkOption {