nixos/config/locale.nix

14 lines
293 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";
inputMethod = {
enabled = if config.services.xserver.enable then "fcitx" else null;
fcitx.engines = with pkgs.fcitx-engines; [ chewing libpinyin table-extra mozc ];
2019-02-26 13:44:40 +01:00
};
};
}