mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-12-02 02:33:59 +01:00
fix: time zone in nixpak
This commit is contained in:
1 parent
58e333a23b
commit
3ac0cea3cc
3 files changed
+2
-12
No files matched your search
@@ -180,9 +180,4 @@
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
# Set your time zone.
|
||||
# comment this due to the issue:
|
||||
# https://github.com/LnL7/nix-darwin/issues/359
|
||||
# time.timeZone = "Asia/shanghai";
|
||||
}
|
||||
@@ -19,11 +19,6 @@
|
||||
# fix for `sudo xxx` in kitty/wezterm/foot and other modern terminal emulators
|
||||
security.sudo.keepTerminfo = true;
|
||||
|
||||
environment.variables = {
|
||||
# fix https://github.com/NixOS/nixpkgs/issues/238025
|
||||
TZ = "${config.time.timeZone}";
|
||||
};
|
||||
|
||||
# List packages installed in system profile. To search, run:
|
||||
# $ nix search wget
|
||||
environment.systemPackages = with pkgs; [
|
||||
|
||||
Reference in new issue
Block a user