From eee771f57d3fb07686cd6ffb639dbf0f8654adff Mon Sep 17 00:00:00 2001 From: Marko Korhonen Date: Tue, 27 Jul 2021 09:18:40 +0300 Subject: [PATCH] Add cpupower conf to mko-laptop --- config-root.yaml | 3 +++ root/etc/default/cpupower | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/config-root.yaml b/config-root.yaml index 0b292e3..a7264f7 100644 --- a/config-root.yaml +++ b/config-root.yaml @@ -159,3 +159,6 @@ profiles: Edoras: include: - Pacman + mko-laptop: + dotfiles: + - f_cpupower diff --git a/root/etc/default/cpupower b/root/etc/default/cpupower index 98c1cb2..08af34f 100644 --- a/root/etc/default/cpupower +++ b/root/etc/default/cpupower @@ -1,2 +1,6 @@ # vim:set ts=2 sw=2 ft=sh et: +{%@@ if profile == "Mirkwood" @@%} governor='powersave' +{%@@ else @@%} +governor='performance' +{%@@ endif @@%}