From b1dfb62b5ea461ddc85633aec7de942748d9dacd Mon Sep 17 00:00:00 2001 From: Christian Ott Date: Sat, 1 Jun 2024 11:42:00 +0200 Subject: [PATCH] make electron apps work on wayland --- configuration.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/configuration.nix b/configuration.nix index 0ceee90..9df8d2f 100644 --- a/configuration.nix +++ b/configuration.nix @@ -99,6 +99,14 @@ configPackages = [ pkgs.xdg-desktop-portal-hyprland ]; }; + environment.sessionVariables = { + NIXOS_OZONE_WL = "1"; + XCURSOR_SIZE = "24"; + XCURSOR_THEME = "Yaru"; + QT_QPA_PLATFORMTHEME = "qt5ct"; + QT_WAYLAND_DISABLE_WINDOWDECORATION = "1"; + }; + # List packages installed in system profile. To search, run: # $ nix search wget environment.systemPackages = with pkgs; [