From b42b7b2755311992534e644269857dee12409bb5 Mon Sep 17 00:00:00 2001 From: Natsu Kagami Date: Tue, 21 Jan 2025 22:16:20 +0100 Subject: [PATCH] Make vesktop run in wayland mode --- overlay.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/overlay.nix b/overlay.nix index a3d5f70..f2a3322 100644 --- a/overlay.nix +++ b/overlay.nix @@ -83,6 +83,10 @@ let glib-compile-schemas $out/share/glib-2.0/schemas ''; }); + + vesktop = prev.vesktop.overrideAttrs (attrs: { + postFixup = builtins.replaceStrings [ "NIXOS_OZONE_WL" "--enable-wayland-ime=true" ] [ "WAYLAND_DISPLAY" "--enable-wayland-ime=true --wayland-text-input-version=3" ] attrs.postFixup; + }); }; overlay-libs = final: prev: { @@ -135,6 +139,3 @@ in # Bug fixes ] # we assign the overlay created before to the overlays of nixpkgs. - - -