pkg: Enable wayland for zulip

This commit is contained in:
ulic-youthlic 2025-07-13 06:04:55 +08:00
parent 9201969c1b
commit dd700c0c4c
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
2 changed files with 16 additions and 0 deletions

View file

@ -13,6 +13,7 @@ in
# ./QQ.nix
./helix.nix
./cliphist.nix
./zulip.nix
# Nur
./nur.nix

View file

@ -0,0 +1,15 @@
{ ... }:
_final: prev: {
zulip = prev.zulip.overrideAttrs (
_finalAttrs: prevAttrs: {
nativeBuildInputs = prevAttrs.nativeBuildInputs ++ [ prev.makeWrapper ];
postInstall =
#bash
''
wrapProgram $out/bin/zulip \
--set NIXOS_OZONE_WL 1 \
--add-flags '--wayland-text-input-version=3'
'';
}
);
}