summaryrefslogtreecommitdiff
path: root/hosts/local/niri.nix
diff options
context:
space:
mode:
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;