diff --git a/overlays/default.nix b/overlays/default.nix index aeaee72..121aa0a 100644 --- a/overlays/default.nix +++ b/overlays/default.nix @@ -9,5 +9,6 @@ in { // import ./nautilus.nix {inherit addPatches prev;} // import ./prismlauncher.nix {inherit addPatches prev;} // import ./sway.nix {inherit addPatches prev;} - // import ./tailscale.nix {inherit addPatches prev;}; + // import ./tailscale.nix {inherit addPatches prev;} + // import ./fcitx5.nix {inherit addPatches prev;}; } diff --git a/overlays/fcitx5.nix b/overlays/fcitx5.nix new file mode 100644 index 0000000..04cf6c0 --- /dev/null +++ b/overlays/fcitx5.nix @@ -0,0 +1,15 @@ +{ + addPatches, + prev, + ... +}: { + fcitx5 = addPatches prev.fcitx5 [ + # Breaks typing in Firefox and some GTK apps + (prev.fetchpatch { + url = "https://github.com/fcitx/fcitx5/commit/b2924bd361680c493463d240a375b3f0948ae48d.patch"; + hash = "sha256-FMbYu1yYDHQ8ndr6Fa/qLL1EIKSTQJwc1YuUiEDiJjc="; + revert = true; + }) + ]; +} +