From 15306e78841c64af4767986877cf201dcbab6f2d Mon Sep 17 00:00:00 2001 From: Aleksandr Lebedev Date: Fri, 29 Nov 2024 08:03:04 +0100 Subject: [PATCH] Set env variable global to fix issues with vulkan --- nixos/hyprland/hyprland.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/hyprland/hyprland.nix b/nixos/hyprland/hyprland.nix index 4c0f9ab..b233b8e 100644 --- a/nixos/hyprland/hyprland.nix +++ b/nixos/hyprland/hyprland.nix @@ -46,7 +46,7 @@ in "$browser" = "${pkgs.firefox}/bin/firefox"; "$menu" = "${pkgs.wofi}/bin/wofi --show drun"; "$clipboardManager" = "$terminal --class clipse -e 'clipse'"; - "$makeRegionScreenshot" = "${pkgs.grim}/bin/grim -g \"$(${pkgs.slurp}/bin/slurp -w 0)\" - | GSK_RENDERER=ngl ${pkgs.satty}/bin/satty --early-exit --copy-command 'wl-copy' --filename '-' --initial-tool brush"; + "$makeRegionScreenshot" = "${pkgs.grim}/bin/grim -g \"$(${pkgs.slurp}/bin/slurp -w 0)\" - | ${pkgs.satty}/bin/satty --early-exit --copy-command 'wl-copy' --filename '-' --initial-tool brush"; bind = [ "$mod, T, exec, $terminal" "$mod, Q, killactive," @@ -133,7 +133,7 @@ in #"GDK_SCALE,1.6" #"QT_SCALE_FACTOR,1.6" - #"GSK_RENDERER,ngl" #for satty until https://github.com/NixOS/nixpkgs/issues/359069 is fixed + "GSK_RENDERER,ngl" #for satty until https://github.com/NixOS/nixpkgs/issues/359069 is fixed ]; cursor = {