diff --git a/system/etc.nix b/system/etc.nix index 15314a3c57a..6d0bf80a240 100644 --- a/system/etc.nix +++ b/system/etc.nix @@ -84,7 +84,7 @@ import ../helpers/make-etc.nix { source = pkgs.substituteAll { src = ./etc/profile.sh; inherit systemPath wrapperDir; - inherit (pkgs) kernel; + inherit (pkgs) kernel glibc; timeZone = config.get ["time" "timeZone"]; }; target = "profile"; diff --git a/system/etc/profile.sh b/system/etc/profile.sh index 89af67ea668..9235876c6bb 100644 --- a/system/etc/profile.sh +++ b/system/etc/profile.sh @@ -3,6 +3,7 @@ export MODULE_DIR=@kernel@/lib/modules export NIX_CONF_DIR=/nix/etc/nix export PAGER=less export TZ=@timeZone@ +export TZDIR=@glibc@/share/zoneinfo export FONTCONFIG_FILE=/etc/fonts/fonts.conf