Add powertop and related manual service
This commit is contained in:
parent
957852471c
commit
a6de58ff16
3 changed files with 18 additions and 0 deletions
|
@ -89,6 +89,7 @@ node default {
|
|||
'playerctl',
|
||||
'postgresql',
|
||||
'postman-bin',
|
||||
'powertop',
|
||||
'psensor',
|
||||
'pulseaudio-bluetooth-a2dp-gdm-fix',
|
||||
'pyenv',
|
||||
|
|
9
modules/i3/files/powertop.service
Normal file
9
modules/i3/files/powertop.service
Normal file
|
@ -0,0 +1,9 @@
|
|||
[Unit]
|
||||
Description=Powertop tunings
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/powertop --auto-tune
|
||||
RemainAfterExit=true
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
|
@ -43,4 +43,12 @@ class i3::autostart {
|
|||
owner => 'jake',
|
||||
source => '/usr/share/applications/libinput-gestures.desktop'
|
||||
}
|
||||
|
||||
file {'Install powertop service':
|
||||
ensure => link,
|
||||
path => '/etc/systemd/system/powertop.service',
|
||||
mode => '0644',
|
||||
owner => 'root',
|
||||
source => 'puppet:///modules/i3/powertop.service'
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue