diff options
| author | Ahmed Abdelhalim <[email protected]> | 2026-01-24 15:46:51 +0100 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2026-01-24 15:46:51 +0100 |
| commit | 9c9c80f240e45102e8c037feb617c282d4b36479 (patch) | |
| tree | 2a1977cb7bc5aa29101edf8a1746b33a7268d275 /roles/nvidia/templates | |
| parent | d7b3463a79a50dc81d28d530c5212a1749efbb15 (diff) | |
Add nvidia driver role w/testing
Fix nvidia role for clean installs and make hyprland nvidia env vars conditional
- Add nouveau blacklist to prevent driver conflicts
- Remove redundant DKMS install task (AUR package handles this automatically)
- Fix mkinitcpio MODULES to append nvidia modules instead of overwriting
- Add missing initramfs rebuild notification to modprobe.d template
- Make hyprland NVIDIA environment variables conditional via hyprland_nvidia flag
Co-authored-by: Claude.ai
Diffstat (limited to 'roles/nvidia/templates')
| -rw-r--r-- | roles/nvidia/templates/nvidia.conf.j2 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/nvidia/templates/nvidia.conf.j2 b/roles/nvidia/templates/nvidia.conf.j2 new file mode 100644 index 00000000..9672977e --- /dev/null +++ b/roles/nvidia/templates/nvidia.conf.j2 @@ -0,0 +1,4 @@ +blacklist nouveau + +options nvidia_drm modeset=1 +options nvidia_drm fbdev=1 |
