Skip to content

Commit 08d8c4c

Browse files
committed
fix: firefox gets wrong timezone on NixOS
1 parent 7dc0ade commit 08d8c4c

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

modules/nixos/core-desktop.nix

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
config,
23
lib,
34
pkgs,
45
...
@@ -209,4 +210,9 @@
209210
emoji = ["Noto Color Emoji"];
210211
};
211212
};
213+
214+
environment.variables = {
215+
# fix https://github.com/NixOS/nixpkgs/issues/238025
216+
TZ = "${config.time.timeZone}";
217+
};
212218
}

0 commit comments

Comments
 (0)