mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-01-11 20:40:24 +01:00
fix: time zone in nixpak
This commit is contained in:
@@ -61,8 +61,8 @@ in
|
||||
(sloth.concat' sloth.xdgConfigHome "/fontconfig")
|
||||
|
||||
"/etc/fonts" # for fontconfig
|
||||
"/etc/machine-id"
|
||||
"/etc/localtime"
|
||||
"/etc/localtime" # this is a symlink to /etc/zoneinfo/xxx
|
||||
"/etc/zoneinfo"
|
||||
|
||||
# Fix: libEGL warning: egl: failed to create dri2 screen
|
||||
"/etc/egl"
|
||||
|
||||
@@ -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