Add laptop power saving conf
This commit is contained in:
parent
d1154ef254
commit
a101d6c0e3
4 changed files with 30 additions and 3 deletions
|
|
@ -42,9 +42,16 @@
|
|||
state: touch
|
||||
mode: "0644"
|
||||
|
||||
# TODO
|
||||
# - laptop power saving configuration
|
||||
# - laptop pacman specific configuration
|
||||
- name: copy powertop service
|
||||
become: yes
|
||||
template:
|
||||
src: "{{ platform }}/powertop.j2"
|
||||
dest: "/etc/systemd/system/powertop.service"
|
||||
owner: root
|
||||
group: root
|
||||
mode: "0644"
|
||||
notify: restart powertop
|
||||
when: platform == "laptop"
|
||||
|
||||
- include_tasks: systemd.yml
|
||||
- include_tasks: gpg.yml # TODO
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue