aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorCaroline Larimore <caroline@larimo.re>2024-05-28 17:38:59 -0700
committerCaroline Larimore <caroline@larimo.re>2024-05-28 17:38:59 -0700
commit56f1f839e559a771f7c7c940fc82b1ca74dc030e (patch)
treeb4611912292d513cae3346f5d949daa599b32b52 /system
parent6d312f157733c0f83c832d4586fd1e782d2cf0a1 (diff)
Add Japanese input
Diffstat (limited to 'system')
-rw-r--r--system/default.nix2
-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";
+ };
}