host/asus: improve power management for laptop

This commit is contained in:
Dmitriy Pleshevskiy 2024-05-03 23:50:38 +03:00
parent a75307be41
commit 17c9463518
Signed by: pleshevskiy
GPG key ID: 17041163DA10A9A2

View file

@ -11,6 +11,13 @@
# See: https://github.com/NixOS/nixpkgs/issues/38676
boot.kernelModules = [ "veth" ];
powerManagement = {
enable = true;
powertop.enable = true;
};
services.thermald.enable = true;
services.tlp .enable = true;
networking = {
useDHCP = false;
interfaces = {