aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--home.nix3
-rw-r--r--system/default.nix2
-rw-r--r--system/keyboard.nix (renamed from system/keyd.nix)10
3 files changed, 14 insertions, 1 deletions
diff --git a/home.nix b/home.nix
index 2ff6daf..9e0b993 100644
--- a/home.nix
+++ b/home.nix
@@ -40,6 +40,9 @@
".config/vesktop"
".config/Obsidian"
+
+ ".config/fcitx"
+ ".config/fcitx5"
{
directory = ".local/share/Steam";
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";
+ };
}