Update laptop tasks
This commit is contained in:
parent
794c714f0b
commit
5087cbca6d
@ -11,3 +11,4 @@
|
||||
- import_tasks: battery.yml
|
||||
- import_tasks: asusctl.yml
|
||||
- import_tasks: supergfxctl.yml
|
||||
- import_tasks: nvidia-drivers.yml
|
||||
|
14
roles/laptop/tasks/nvidia-drivers.yml
Normal file
14
roles/laptop/tasks/nvidia-drivers.yml
Normal file
@ -0,0 +1,14 @@
|
||||
- name: [Arch] install nvidia drivers
|
||||
when: ansible_distribution == "Archlinux"
|
||||
become: yes
|
||||
community.general.pacman:
|
||||
name:
|
||||
- nvidia
|
||||
- nvidia-settings
|
||||
- nvidia-primepri
|
||||
- vulkan-radeon
|
||||
- xf86-video-amdgpu
|
||||
- libva-mesa-driver
|
||||
- lib32-amdvlk
|
||||
- lib32-nvidia-utils
|
||||
|
@ -7,3 +7,9 @@
|
||||
yay -S --needed --noconfirm supergfxctl
|
||||
when: ansible_distribution == "Archlinux"
|
||||
|
||||
- name: Enable supergfxctl
|
||||
become: yes
|
||||
ansible.builtin.systemd:
|
||||
name: supergfxctl
|
||||
state: started
|
||||
enabled: yes
|
||||
|
Loading…
Reference in New Issue
Block a user