From d5a0e9ec2dc74146df2bd0ab3aa725daf8cabcb2 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Sat, 23 Aug 2025 21:44:03 +0200 Subject: [PATCH] home/breakerbox: make fcitx5 breaker --- home/breakerbox.nix | 7 ++++++- home/services/fcitx5.nix | 3 --- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/home/breakerbox.nix b/home/breakerbox.nix index 97e62ef..8b86458 100644 --- a/home/breakerbox.nix +++ b/home/breakerbox.nix @@ -69,6 +69,7 @@ in ./services/copyq.nix ./services/dunst.nix + ./services/fcitx5.nix ./services/gnome-keyring.nix ./services/mpd.nix ./services/mpris-proxy.nix @@ -78,7 +79,6 @@ in ./services/pueue.nix ./services/tumblerd.nix ] ++ (optionals graphics [ - ./services/fcitx5.nix ./services/keybase.nix ]) ++ (optionals (!machineVars.wayland) [ ./programs/xmonad @@ -161,6 +161,11 @@ in services.psd.enable = graphics; services.tumblerd.enable = graphics; + i18n.inputMethod = mkIf graphics { + enable = true; + type = "fcitx5"; + }; + programs.anyrun.enable = machineVars.wayland; programs.waybar.enable = machineVars.wayland; wayland.windowManager.hyprland.enable = machineVars.wayland; diff --git a/home/services/fcitx5.nix b/home/services/fcitx5.nix index 8bbbc9e..b61c7e9 100644 --- a/home/services/fcitx5.nix +++ b/home/services/fcitx5.nix @@ -6,9 +6,6 @@ let in { i18n.inputMethod = { - enable = true; - type = "fcitx5"; - fcitx5 = { waylandFrontend = true; addons = with pkgs; [