From c32d0180e4fda3c69e9a50dfabb45dac004788f9 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 6 Jan 2014 18:27:07 +0100 Subject: [PATCH] Don't set $TZ Now that Java is happy with our /etc/localtime, there is no reason to set $TZ anymore. (See 945849b86fe33474da569b307d7e5880877491b6, 279248f6c562eb88227d22b824c9324683980b96, 1b5e860f65607b4cc7de4b6b5db95460cf144526.) Fixes #1463. --- nixos/modules/config/timezone.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/nixos/modules/config/timezone.nix b/nixos/modules/config/timezone.nix index 979778046fd..42fbe841d07 100644 --- a/nixos/modules/config/timezone.nix +++ b/nixos/modules/config/timezone.nix @@ -25,7 +25,6 @@ with pkgs.lib; config = { environment.variables.TZDIR = "/etc/zoneinfo"; - environment.variables.TZ = config.time.timeZone; environment.etc.localtime = { source = "${pkgs.tzdata}/share/zoneinfo/${config.time.timeZone}";