summary refs log tree commit diff
path: root/host/Rory-laptop/optional/gui/wayland.nix
diff options
context:
space:
mode:
Diffstat (limited to 'host/Rory-laptop/optional/gui/wayland.nix')
-rw-r--r--host/Rory-laptop/optional/gui/wayland.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/host/Rory-laptop/optional/gui/wayland.nix b/host/Rory-laptop/optional/gui/wayland.nix

index c105196..ab72165 100644 --- a/host/Rory-laptop/optional/gui/wayland.nix +++ b/host/Rory-laptop/optional/gui/wayland.nix
@@ -15,7 +15,7 @@ # SDL: export SDL_VIDEODRIVER=wayland # QT (needs qt5.qtwayland in systemPackages): - export QT_QPA_PLATFORM=wayland-egl + export QT_QPA_PLATFORM=wayland export QT_WAYLAND_DISABLE_WINDOWDECORATION="1" # Fix for some Java AWT applications (e.g. Android Studio), # use this if they aren't displayed properly: @@ -39,11 +39,15 @@ programs.hyprland = { enable = true; package = hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland; + xwayland.enable = true; + withUWSM = true; }; + security.rtkit.enable = true; programs.hyprlock.enable = true; environment.systemPackages = with pkgs;[ wmenu + kdePackages.xwaylandvideobridge ]; environment.etc."hyprPlugins" = {