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/tasks/main.yml | |
| 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/tasks/main.yml')
| -rw-r--r-- | roles/nvidia/tasks/main.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/nvidia/tasks/main.yml b/roles/nvidia/tasks/main.yml new file mode 100644 index 00000000..71bcbd0d --- /dev/null +++ b/roles/nvidia/tasks/main.yml @@ -0,0 +1,3 @@ +--- +- name: "Include OS-specific tasks" + ansible.builtin.include_tasks: "install-{{ ansible_facts['os_family'] | lower }}.yml" |
