{ config, lib, pkgs, ... }: with lib; { i18n = { defaultLocale = mkDefault "en_GB.UTF-8"; supportedLocales = [ "C.UTF-8/UTF-8" "en_GB.UTF-8/UTF-8" "en_US.UTF-8/UTF-8" "ja_JP.UTF-8/UTF-8" "ru_RU.UTF-8/UTF-8" ]; inputMethod = { enabled = "fcitx5"; fcitx5 = { addons = with pkgs; [ fcitx5-configtool fcitx5-mozc ]; waylandFrontend = config.nixfiles.modules.wayland.enable; }; }; }; services.xserver.xkb = { layout = "us"; options = concatStringsSep "," [ "caps:escape" "compose:menu" "terminate:ctrl_alt_bksp" ]; }; }