From c52cbca24d01392c8a99fd241f242fdaa7d4836d Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sun, 25 Jul 2010 09:52:20 +0000 Subject: [PATCH] * Set $TZ in the X server job (mostly so that the kdm clock shows the right time). svn path=/nixos/trunk/; revision=22728 --- modules/services/x11/xserver.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/services/x11/xserver.nix b/modules/services/x11/xserver.nix index 97c96ef8be9..43c4a53c21f 100644 --- a/modules/services/x11/xserver.nix +++ b/modules/services/x11/xserver.nix @@ -413,6 +413,7 @@ in environment = { FONTCONFIG_FILE = "/etc/fonts/fonts.conf"; # !!! cleanup XKB_BINDIR = "${xorg.xkbcomp}/bin"; # Needed for the Xkb extension. + TZ = config.time.timeZone; } # !!! Depends on the driver selected at runtime. // optionalAttrs (!elem "nvidia" driverNames) { XORG_DRI_DRIVER_PATH = "${pkgs.mesa}/lib/dri";