nixos/config/locale.nix

14 lines
331 B
Nix
Raw Normal View History

{ config, pkgs, ... }:
2019-02-26 13:44:40 +01:00
{
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";
supportedLocales = [ "all" ];
2019-02-26 13:44:40 +01:00
inputMethod = {
2022-01-31 20:09:22 +01: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
};
};
}