home/breakerbox: make fcitx5 breaker

This commit is contained in:
2025-08-23 21:44:03 +02:00
parent 36db01748e
commit d5a0e9ec2d
2 changed files with 6 additions and 4 deletions

View File

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

View File

@@ -6,9 +6,6 @@ let
in
{
i18n.inputMethod = {
enable = true;
type = "fcitx5";
fcitx5 = {
waylandFrontend = true;
addons = with pkgs; [