From 0af7c7bdcb76ca8cfa1e7956747592d7fa1cbc9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Thu, 28 Apr 2011 08:07:17 +0000 Subject: [PATCH] Making the samba services get the timezone. svn path=/nixos/trunk/; revision=27022 --- modules/services/network-filesystems/samba.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/services/network-filesystems/samba.nix b/modules/services/network-filesystems/samba.nix index 1f249716f7c..20a8687cc03 100644 --- a/modules/services/network-filesystems/samba.nix +++ b/modules/services/network-filesystems/samba.nix @@ -69,7 +69,10 @@ let startOn = "started samba"; stopOn = "stopping samba"; - environment = { LD_LIBRARY_PATH = nssModulesPath; }; + environment = { + LD_LIBRARY_PATH = nssModulesPath; + TZ = config.time.timeZone; + }; exec = "${samba}/sbin/${appName} ${args}"; };