From 7a479eb08c56581b3d8869e89fa3890adbcb0922 Mon Sep 17 00:00:00 2001 From: caem Date: Sun, 26 May 2024 01:01:52 +0200 Subject: [PATCH] Use sessionVariables instead of normal variables for things that affect the session --- packages/wm/hyprland.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/wm/hyprland.nix b/packages/wm/hyprland.nix index 86f85a2..3037a9c 100644 --- a/packages/wm/hyprland.nix +++ b/packages/wm/hyprland.nix @@ -17,7 +17,7 @@ # TODO: Use KDE portal features for file pickers and popups # TODO: Add missing utilities for taking screenshots, recording, etc... - environment.variables = { + environment.sessionVariables = { LIBVA_DRIVER_NAME = "nvidia"; XDG_SESSION_TYPE = "wayland"; GBM_BACKEND = "nvidia-drm";