framework: improve power consumption

This commit is contained in:
Sijmen 2022-08-12 02:12:54 +02:00
parent a130216b15
commit 4098fcb1d4
Signed by: vijfhoek
GPG key ID: DAF7821E067D9C48
2 changed files with 11 additions and 2 deletions

View file

@ -26,7 +26,6 @@
}; };
"org/gnome/desktop/interface" = { "org/gnome/desktop/interface" = {
clock-show-seconds = true;
clock-show-weekday = true; clock-show-weekday = true;
show-battery-percentage = true; show-battery-percentage = true;
}; };
@ -46,7 +45,7 @@
"org/gnome/settings-daemon/plugins/color" = { "org/gnome/settings-daemon/plugins/color" = {
night-light-enabled = true; night-light-enabled = true;
night-light-temperature = mkUint32 3330; night-light-temperature = mkUint32 3600;
}; };
"org/gnome/shell" = { "org/gnome/shell" = {

View file

@ -34,6 +34,8 @@
"vga=current" "vga=current"
"udev.log_level=3" "udev.log_level=3"
"mem_sleep_default=deep" "mem_sleep_default=deep"
"i915.enable_psr=1"
"nvme.noacpi=1"
]; ];
blacklistedKernelModules = [ "hid_sensor_hub" ]; blacklistedKernelModules = [ "hid_sensor_hub" ];
@ -107,6 +109,14 @@
}; };
logind.lidSwitchDocked = "suspend"; logind.lidSwitchDocked = "suspend";
power-profiles-daemon.enable = false;
tlp = {
enable = true;
settings = {
PCIE_ASPM_ON_BAT = "powersupersave";
};
};
}; };
security.pam.services.login.fprintAuth = true; security.pam.services.login.fprintAuth = true;