diff options
Diffstat (limited to 'system')
| -rw-r--r-- | system/default.nix | 2 | ||||
| -rw-r--r-- | system/keyboard.nix (renamed from system/keyd.nix) | 10 |
2 files changed, 11 insertions, 1 deletions
diff --git a/system/default.nix b/system/default.nix index ca5412c..6178ae8 100644 --- a/system/default.nix +++ b/system/default.nix @@ -3,7 +3,7 @@ { imports = [ ./fonts.nix - ./keyd.nix + ./keyboard.nix ./networking.nix ./pipewire.nix ./xserver.nix diff --git a/system/keyd.nix b/system/keyboard.nix index d1d7086..4a8bd25 100644 --- a/system/keyd.nix +++ b/system/keyboard.nix @@ -20,4 +20,14 @@ }; }; }; + + i18n.inputMethod = { + enabled = "fcitx5"; + fcitx5.addons = with pkgs; [ fcitx5-mozc ]; + }; + + environment.variables = { + # Required for fcitx5 support in kitty + GLFW_IM_MODULE = "ibus"; + }; } |