Move NVIDIA env setup to Hyprland Lua
Evaluate NVIDIA session env vars from default/hypr/nvidia.lua during Hyprland startup instead of appending them to each user's envs.lua during setup. This removes the per-user NVIDIA setup script execution while preserving the GSP/non-GSP detection.
This commit is contained in:
6 files changed
+34
-23
No files matched your search
@@ -17,7 +17,7 @@ if lspci | grep -qi 'nvidia'; then
|
||||
|
||||
omarchy-pkg-add "${PACKAGES[@]}"
|
||||
|
||||
# Per-user Hyprland NVIDIA env vars are handled by nvidia-user.sh.
|
||||
# Per-session Hyprland NVIDIA env vars are handled by default/hypr/nvidia.lua.
|
||||
|
||||
# Configure modprobe for early KMS
|
||||
mkdir -p /etc/modprobe.d
|
||||
|
||||
Reference in new issue
Block a user