about summary refs log tree commit diff
path: root/pkgs/by-name/ve/vesktop/package.nix
diff options
context:
space:
mode:
authorLilleAila <olai.solsvik@gmail.com>2024-04-24 15:17:34 +0200
committerLilleAila <olai.solsvik@gmail.com>2024-04-24 15:17:34 +0200
commit3d2f4980b76a03ad9086a366c262db0ffb3debe6 (patch)
treeeb6c82086cbea1b3f66f47cce02882ca6ed405c2 /pkgs/by-name/ve/vesktop/package.nix
parent5dbf1419fecf2bf7858fdce662641ec3b0134e3d (diff)
vesktop: IME with NIXOS_OZONE_WL
This moves the `--enable-wayland-ime` flag to NIXOS_OZONE_WL instead of
having a separate option for it.
Diffstat (limited to 'pkgs/by-name/ve/vesktop/package.nix')
-rw-r--r--pkgs/by-name/ve/vesktop/package.nix4
1 files changed, 1 insertions, 3 deletions
diff --git a/pkgs/by-name/ve/vesktop/package.nix b/pkgs/by-name/ve/vesktop/package.nix
index b35f53579b45f..d3952f621a123 100644
--- a/pkgs/by-name/ve/vesktop/package.nix
+++ b/pkgs/by-name/ve/vesktop/package.nix
@@ -17,7 +17,6 @@
   # Enables the use of vencord from nixpkgs instead of
   # letting vesktop manage it's own version
 , withSystemVencord ? true
-, withWaylandIME ? false
 }:
 stdenv.mkDerivation (finalAttrs: {
   pname = "vesktop";
@@ -129,8 +128,7 @@ stdenv.mkDerivation (finalAttrs: {
       makeWrapper ${electron}/bin/electron $out/bin/vesktop \
         --add-flags $out/opt/Vesktop/resources/app.asar \
         ${lib.optionalString withTTS "--add-flags \"--enable-speech-dispatcher\""} \
-        ${lib.optionalString withWaylandIME "--add-flags \"--enable-wayland-ime\""} \
-        --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}"
+        --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations --enable-wayland-ime}}"
 
       runHook postInstall
     '';