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; [