surface: Add powerManagement
This commit is contained in:
parent
e93bb344a8
commit
8b136b0368
@ -15,7 +15,7 @@ in mkHost config {
|
||||
wireless = true;
|
||||
wifiInterface = "wlp1s0";
|
||||
programImports = [
|
||||
"zsh" "git" "mpv" "tmux" "firefox" "gnome-terminal" "gnome" "i18n"
|
||||
"zsh" "git" "mpv" "tmux" "firefox" "gnome-terminal" "gnome" "i18n" "xournalpp"
|
||||
"distributed-build/offload.nix"
|
||||
];
|
||||
fileSystems = {
|
||||
@ -34,8 +34,6 @@ in mkHost config {
|
||||
}
|
||||
];
|
||||
extraOptions = old: {
|
||||
networking.wireless.enable = true;
|
||||
hardware.video.hidpi.enable = true;
|
||||
boot = {
|
||||
kernelParams = [ "mem_sleep_default=deep" ];
|
||||
extraModprobeConfig = ''
|
||||
|
@ -17,6 +17,12 @@ in {
|
||||
BlockOnPalm = true
|
||||
'';
|
||||
|
||||
powerManagement = {
|
||||
enable = true;
|
||||
cpuFreqGovernor = "powersave";
|
||||
};
|
||||
hardware.video.hidpi.enable = true;
|
||||
|
||||
systemd.services.iptsd = {
|
||||
description = "Userspace daemon for Intel Precise Touch & Stylus";
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
|
Loading…
Reference in New Issue
Block a user