1
0

add system/linux/i18n.nix

This commit is contained in:
2025-09-22 08:45:27 -07:00
parent abe5a405d0
commit 1a5009f4af
2 changed files with 18 additions and 0 deletions

View File

@@ -22,6 +22,7 @@
nixosModules.linux = { ... }: { nixosModules.linux = { ... }: {
imports = [ imports = [
./system/linux/i18n.nix
./system/linux/system.nix ./system/linux/system.nix
]; ];
}; };

17
system/linux/i18n.nix Normal file
View File

@@ -0,0 +1,17 @@
{ ... }:
{
# Select internationalisation properties.
i18n.defaultLocale = "en_US.UTF-8";
i18n.extraLocaleSettings = {
LC_ADDRESS = "en_US.UTF-8";
LC_IDENTIFICATION = "en_US.UTF-8";
LC_MEASUREMENT = "en_US.UTF-8";
LC_MONETARY = "en_US.UTF-8";
LC_NAME = "en_US.UTF-8";
LC_NUMERIC = "en_US.UTF-8";
LC_PAPER = "en_US.UTF-8";
LC_TELEPHONE = "en_US.UTF-8";
LC_TIME = "en_US.UTF-8";
};
}