{ pkgs, ... }:
{
time.timeZone = "Asia/Shanghai";
i18n.defaultLocale = "en_US.UTF-8";
nix.settings = {
experimental-features = [ "nix-command" "flakes" ];
auto-optimise-store = true;
trusted-users = [ "root" "ldx" "ye-lw21" ];
substituters = [
"https://mirrors.tuna.tsinghua.edu.cn/nix-channels/store"
"https://cache.nixos.org/"
];
connect-timeout = 5;
stalled-download-timeout = 15;
flake-registry = ""; # disable global registry fetch (channels.nixos.org unreachable from CN)
};
environment.systemPackages = with pkgs; [
curl
wget
git
vim
tmux
htop
pciutils
usbutils
];
}