summaryrefslogtreecommitdiff
path: root/hosts/local/niri.nix
diff options
context:
space:
mode:
authorpolwex <polwex@sortug.com>2025-10-26 01:03:18 +0700
committerpolwex <polwex@sortug.com>2025-10-26 01:03:18 +0700
commit024b7a90a30aa645dd5910cd95ab8d1e7682ef99 (patch)
tree24a0443f1a468e682e974da27869a28397a5a597 /hosts/local/niri.nix
parent6286666f5146b9214a950403d0fd53f13c35e4c1 (diff)
fcitx ded
Diffstat (limited to 'hosts/local/niri.nix')
-rw-r--r--hosts/local/niri.nix26
1 files changed, 2 insertions, 24 deletions
diff --git a/hosts/local/niri.nix b/hosts/local/niri.nix
index be92df0..ee5fae2 100644
--- a/hosts/local/niri.nix
+++ b/hosts/local/niri.nix
@@ -35,14 +35,9 @@
_JAVA_AWT_WM_NONREPARENTING = "1";
MOZ_ENABLE_WAYLAND = "1";
- # GTK_IM_MODULE = "fcitx";
- # QT_IM_MODULE = "fcitx";
- # SDL_IM_MODULE = "fcitx";
-
XDG_CURRENT_DESKTOP = "sway";
GDK_BACKEND = "wayland";
XDG_SESSION_TYPE = "wayland";
- XMODIFIERS = "@im=fcitx";
};
xdg.portal = {
@@ -146,25 +141,6 @@
];
services.speechd.enable = true;
- # cjk input
-
- i18n.inputMethod = {
- type = "fcitx5";
- enable = true;
- fcitx5 = {
- # enabled = true;
- addons = with pkgs; [
- rime-data
- fcitx5-rime
- fcitx5-mozc
- fcitx5-configtool
- fcitx5-chinese-addons
- fcitx5-gtk
- libsForQt5.fcitx5-qt
- ];
- waylandFrontend = true;
- };
- };
services.xserver.desktopManager.runXdgAutostartIfNone = true;
fonts = {
@@ -226,6 +202,8 @@
jack.enable = true;
};
+ i18n.inputMethod.fcitx5.waylandFrontend = true;
+
# pipewire requires these off
# sound.enable = true;
# hardware.pulseaudio.enable = true;