Author: eelco
Date: Sun Jul 25 09:52:20 2010
New Revision: 22728
URL: https://svn.nixos.org/websvn/nix/?rev=22728&sc=1

Log:
* Set $TZ in the X server job (mostly so that the kdm clock shows the
  right time).

Modified:
   nixos/trunk/modules/services/x11/xserver.nix

Modified: nixos/trunk/modules/services/x11/xserver.nix
==============================================================================
--- nixos/trunk/modules/services/x11/xserver.nix        Sun Jul 25 09:14:12 
2010        (r22727)
+++ nixos/trunk/modules/services/x11/xserver.nix        Sun Jul 25 09:52:20 
2010        (r22728)
@@ -413,6 +413,7 @@
         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";
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits

Reply via email to