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/handlers | |
| 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/handlers')
| -rw-r--r-- | roles/nvidia/handlers/main.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/nvidia/handlers/main.yml b/roles/nvidia/handlers/main.yml new file mode 100644 index 00000000..67408c79 --- /dev/null +++ b/roles/nvidia/handlers/main.yml @@ -0,0 +1,6 @@ +--- +- name: "Rebuild initramfs" + become: true + ansible.builtin.command: + cmd: "mkinitcpio -P" + changed_when: true |
