feat(arch): add modprobe powersave module
This commit is contained in:
parent
41fba1160e
commit
afb12f5da4
@ -199,6 +199,7 @@
|
||||
- reflector.yml
|
||||
- bluetooth.yml
|
||||
- disable-gpu.yml
|
||||
- modprobe-powersave.yml
|
||||
- dns.yml
|
||||
- powertop.yml
|
||||
- pacman-hooks.yml
|
||||
|
16
roles/arch-post-setup/tasks/modprobe-powersave.yml
Normal file
16
roles/arch-post-setup/tasks/modprobe-powersave.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user