feat(arch): add modprobe powersave module

This commit is contained in:
Price Hiller 2023-09-08 05:46:23 -05:00
parent 41fba1160e
commit afb12f5da4
No known key found for this signature in database
2 changed files with 17 additions and 0 deletions

View File

@ -199,6 +199,7 @@
- reflector.yml
- bluetooth.yml
- disable-gpu.yml
- modprobe-powersave.yml
- dns.yml
- powertop.yml
- pacman-hooks.yml

View File

@ -0,0 +1,16 @@
- name: Enable Modprobe Audio Saving Configs
become: true
ansible.builtin.copy:
content: "{{ item.content }}"
dest: "/etc/modprobe.d/{{ item.name }}.conf"
mode: "0644"
owner: root
group: root
loop:
- name: audio_powersave
content: |
options snd_hda_intel power_save=1
- name: iwl_powersave
content: |
options iwlwifi power_save=1
options iwlmvm power_scheme=3