From 17c9463518a3b11bc0378468f7bb4f62221eac96 Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Fri, 3 May 2024 23:50:38 +0300 Subject: [PATCH] host/asus: improve power management for laptop --- hosts/asus-gl553vd/hardware-configuration/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/hosts/asus-gl553vd/hardware-configuration/default.nix b/hosts/asus-gl553vd/hardware-configuration/default.nix index 591fa59..d594157 100644 --- a/hosts/asus-gl553vd/hardware-configuration/default.nix +++ b/hosts/asus-gl553vd/hardware-configuration/default.nix @@ -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 = {