mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2026-02-22 21:05:14 +08:00
feat: set download buffer to a bigger size; set i18n
This commit is contained in:
parent
7057c072f9
commit
8a3163660e
1 changed files with 9 additions and 6 deletions
|
|
@ -8,6 +8,7 @@
|
|||
{
|
||||
nix = {
|
||||
settings = {
|
||||
download-buffer-size = 67108864; # Set buffer size to 64MB for large downloads
|
||||
allowed-users = [ "@wheel" ];
|
||||
auto-optimise-store = true;
|
||||
experimental-features = [
|
||||
|
|
@ -51,12 +52,6 @@
|
|||
|
||||
# powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
||||
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
i18n.supportedLocales = [
|
||||
"en_US.UTF-8/UTF-8"
|
||||
"ja_JP.UTF-8/UTF-8"
|
||||
];
|
||||
|
||||
# Font packages
|
||||
environment.systemPackages = with pkgs; [
|
||||
noto-fonts-cjk-sans
|
||||
|
|
@ -64,6 +59,14 @@
|
|||
ipaexfont
|
||||
];
|
||||
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
i18n.supportedLocales = [
|
||||
"en_US.UTF-8/UTF-8"
|
||||
"ja_JP.UTF-8/UTF-8"
|
||||
];
|
||||
time.timeZone = lib.mkDefault "Europe/Amsterdam";
|
||||
environment.variables = {
|
||||
LC_TIME = "C.UTF-8";
|
||||
};
|
||||
system.stateVersion = "24.05";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue