From 7a34b3afaa32508795fe1ea61cb8a9ad49e294f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Schr=C3=B6ter?= Date: Thu, 10 Aug 2023 11:39:53 +0200 Subject: [PATCH] feat: enable wayland support for Qt apps --- desktop/wayland.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/desktop/wayland.nix b/desktop/wayland.nix index ea13332..423742f 100644 --- a/desktop/wayland.nix +++ b/desktop/wayland.nix @@ -3,5 +3,8 @@ { environment.systemPackages = with pkgs; [ wl-clipboard ]; - environment.sessionVariables.NIXOS_OZONE_WL = "1"; + environment.sessionVariables = { + NIXOS_OZONE_WL = "1"; + QT_QPA_PLATFORM = "wayland"; + }; }