nixos/config/locale.nix

19 lines
356 B
Nix
Raw Normal View History

2019-02-26 13:44:40 +01:00
{
2023-09-11 20:23:04 +02:00
config,
pkgs,
...
}: {
2019-12-26 01:00:46 +01:00
console.keyMap = "de";
2019-02-26 13:44:40 +01:00
i18n = {
defaultLocale = "en_US.UTF-8";
2023-09-11 20:23:04 +02:00
supportedLocales = ["all"];
2019-02-26 13:44:40 +01:00
inputMethod = {
2023-09-11 20:23:04 +02:00
enabled =
if config.services.xserver.enable
then "fcitx5"
else null;
fcitx5.addons = with pkgs; [fcitx5-chinese-addons fcitx5-mozc fcitx5-table-extra];
2019-02-26 13:44:40 +01:00
};
};
}