mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-07-10 22:52:41 +02:00
fix: time zone in nixpak
This commit is contained in:
@@ -61,8 +61,8 @@ in
|
|||||||
(sloth.concat' sloth.xdgConfigHome "/fontconfig")
|
(sloth.concat' sloth.xdgConfigHome "/fontconfig")
|
||||||
|
|
||||||
"/etc/fonts" # for fontconfig
|
"/etc/fonts" # for fontconfig
|
||||||
"/etc/machine-id"
|
"/etc/localtime" # this is a symlink to /etc/zoneinfo/xxx
|
||||||
"/etc/localtime"
|
"/etc/zoneinfo"
|
||||||
|
|
||||||
# Fix: libEGL warning: egl: failed to create dri2 screen
|
# Fix: libEGL warning: egl: failed to create dri2 screen
|
||||||
"/etc/egl"
|
"/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
|
# fix for `sudo xxx` in kitty/wezterm/foot and other modern terminal emulators
|
||||||
security.sudo.keepTerminfo = true;
|
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:
|
# List packages installed in system profile. To search, run:
|
||||||
# $ nix search wget
|
# $ nix search wget
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
|||||||
Reference in New Issue
Block a user