Compare commits

..

2 commits

Author SHA1 Message Date
Natsu Kagami 5da2417f69
Update nix-gaming 2025-01-21 22:16:28 +01:00
Natsu Kagami 3b68fb1d05
Make vesktop run in wayland mode 2025-01-21 22:16:20 +01:00
2 changed files with 2 additions and 1 deletions

View file

@ -96,6 +96,7 @@ in
QT_QPA_PLATFORM = "wayland"; QT_QPA_PLATFORM = "wayland";
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1"; QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
QT_IM_MODULE = "fcitx"; QT_IM_MODULE = "fcitx";
GTK_IM_MODULE = "fcitx"; # Til text-input is merged
# export NIXOS_OZONE_WL=1 # Until text-input is merged # export NIXOS_OZONE_WL=1 # Until text-input is merged
DISPLAY = xwayland-display; DISPLAY = xwayland-display;
} // lib.optionalAttrs osConfig.services.desktopManager.plasma6.enable { } // lib.optionalAttrs osConfig.services.desktopManager.plasma6.enable {

View file

@ -85,7 +85,7 @@ let
}); });
vesktop = prev.vesktop.overrideAttrs (attrs: { 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; postFixup = builtins.replaceStrings [ "NIXOS_OZONE_WL" "--enable-wayland-ime" ] [ "WAYLAND_DISPLAY" "--enable-wayland-ime --wayland-text-input-version=3" ] attrs.postFixup;
}); });
}; };