refactor: fcitx5 overlay

This commit is contained in:
2025-07-26 12:15:15 +08:00
parent a0b044dbc9
commit a39b966a91
2 changed files with 9 additions and 5 deletions

View File

@@ -102,6 +102,15 @@ lib.my.makeSwitch {
ignoreUserConfig = true;
};
};
nixpkgs.overlays = [(
final: prev: lib.infuse prev (lib.genAttrs [ "qq" "vscodium" ] (pkg: {
${pkg}.__output.preInstall.__append = ''
gappsWrapperArgs+=(
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--wayland-text-input-version=3}}"
)
'';
}))
)];
my.home.programs.niri.settings = {
binds."Mod+Space".action.spawn = [
"fcitx5-remote"