2023-09-19 00:17:43 +00:00
|
|
|
{ ... }:
|
|
|
|
|
2023-10-15 00:51:56 +00:00
|
|
|
# Internationalisation configurations
|
|
|
|
# Use Home Manager for IME configurations
|
2023-09-19 00:17:43 +00:00
|
|
|
{
|
|
|
|
i18n = {
|
|
|
|
defaultLocale = "en_US.UTF-8";
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
supportedLocales = [
|
|
|
|
"en_US.UTF-8/UTF-8"
|
|
|
|
"zh_CN.UTF-8/UTF-8"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
# console = {
|
|
|
|
# font = "Lat2-Terminus16";
|
|
|
|
# keyMap = "us";
|
|
|
|
# useXkbConfig = true; # use xkbOptions in tty.
|
|
|
|
# };
|
2023-10-15 00:51:56 +00:00
|
|
|
|
|
|
|
services.xserver.layout = "us"; # keymap in x11
|
2023-09-19 00:17:43 +00:00
|
|
|
}
|