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"

View File

@@ -22,11 +22,6 @@
cage.__output.patches.__append = [ ./cage-specify-output-name.patch ];
matrix-synapse.__assign = final.stable.matrix-synapse;
bottles.__input.removeWarningPopup.__assign = true;
qq.__output.preInstall.__append = ''
gappsWrapperArgs+=(
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--wayland-text-input-version=3}}"
)
'';
sing-box.__assign = prev.sing-box.overrideAttrs (finalAttrs: {
version = "1.11.14";