summaryrefslogtreecommitdiff
path: root/joeyconfig.hs
diff options
context:
space:
mode:
authorJoey Hess2018-02-01 12:19:09 -0400
committerJoey Hess2018-02-01 12:19:09 -0400
commit141cf24148a1258a94f95ba1a6b2265070675d30 (patch)
treebb05015fa75a61b1ed3dece3d32e87cb40d00c95 /joeyconfig.hs
parent121c20726cebf3657b0b5d22d220cbdc7aa1aac4 (diff)
Laptop: New module, starting with powertopAutoTuneOnBoot.
This commit was sponsored by Brock Spratlen on Patreon.
Diffstat (limited to 'joeyconfig.hs')
-rw-r--r--joeyconfig.hs5
1 files changed, 3 insertions, 2 deletions
diff --git a/joeyconfig.hs b/joeyconfig.hs
index 3d895e69..1d019498 100644
--- a/joeyconfig.hs
+++ b/joeyconfig.hs
@@ -33,6 +33,7 @@ import qualified Propellor.Property.Gpg as Gpg
import qualified Propellor.Property.Systemd as Systemd
import qualified Propellor.Property.Journald as Journald
import qualified Propellor.Property.Fail2Ban as Fail2Ban
+import qualified Propellor.Property.Laptop as Laptop
import qualified Propellor.Property.OS as OS
import qualified Propellor.Property.HostingProvider.CloudAtCost as CloudAtCost
import qualified Propellor.Property.HostingProvider.Linode as Linode
@@ -89,9 +90,9 @@ darkstar = host "darkstar.kitenet.net" $ props
& ipv6 "2001:4830:1600:187::2"
& Hostname.sane
& Apt.serviceInstalledRunning "swapspace"
- ! Grub.cmdline_Linux_default "quiet"
- -- Power consumption tuning
+ & Laptop.powertopAutoTuneOnBoot
& Grub.cmdline_Linux_default "i915.enable_psr=1"
+ ! Grub.cmdline_Linux_default "quiet"
& JoeySites.dkimMilter
& JoeySites.postfixSaslPasswordClient