summaryrefslogtreecommitdiffstats
path: root/roles/hyprland/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'roles/hyprland/tasks')
-rw-r--r--roles/hyprland/tasks/main.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/roles/hyprland/tasks/main.yml b/roles/hyprland/tasks/main.yml
index d14b556c..4a64956e 100644
--- a/roles/hyprland/tasks/main.yml
+++ b/roles/hyprland/tasks/main.yml
@@ -1,4 +1,11 @@
---
+- name: "Detect NVIDIA driver"
+ ansible.builtin.command:
+ cmd: "modinfo nvidia"
+ register: "hyprland_nvidia_detected"
+ changed_when: false
+ failed_when: false
+
- name: "Ensure hyprland packages are installed"
become: true
ansible.builtin.package: