{ config, lib, pkgs, ... }: with lib; { hm.home.language = { collate = "C"; messages = "C"; monetary = "tt_RU.UTF-8"; numeric = "tt_RU.UTF-8"; paper = "tt_RU.UTF-8"; telephone = "tt_RU.UTF-8"; }; i18n = { defaultLocale = mkDefault "en_GB.UTF-8"; supportedLocales = [ "C.UTF-8/UTF-8" "en_GB.UTF-8/UTF-8" "en_GB/ISO-8859-1" "en_US.UTF-8/UTF-8" "en_US/ISO-8859-1" "ja_JP.EUC-JP/EUC-JP" "ja_JP.UTF-8/UTF-8" "ru_RU.KOI8-R/KOI8-R" "ru_RU.UTF-8/UTF-8" "ru_RU/ISO-8859-5" "tt_RU/UTF-8" "tt_RU@iqtelif/UTF-8" ]; inputMethod = { enabled = null; # FIXME Breaks on Wayland. fcitx5 = { addons = with pkgs; [ fcitx5-configtool fcitx5-mozc ]; waylandFrontend = config.nixfiles.modules.wayland.enable; }; }; }; services.xserver.xkb = { layout = "us,ru"; variant = ",phonetic"; options = concatStringsSep "," [ "caps:escape" "compose:menu" "grp:win_space_toggle" "terminate:ctrl_alt_bksp" ]; }; }