From a2339e091a6e1906b8f6488986de1474a5e7b92e Mon Sep 17 00:00:00 2001 From: Baitinq Date: Fri, 30 Dec 2022 17:40:41 +0100 Subject: Hardware: Move hardware specific settings from hosts --- modules/power-save/default.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/power-save/default.nix') diff --git a/modules/power-save/default.nix b/modules/power-save/default.nix index 8360043..2e3f769 100644 --- a/modules/power-save/default.nix +++ b/modules/power-save/default.nix @@ -22,6 +22,7 @@ }; services = { + tlp.enable = true; udev.extraRules = '' ACTION=="add", SUBSYSTEM=="net", KERNEL=="eth*", RUN+="${pkgs.ethtool}/bin/ethtool -s %k wol d" ACTION=="add", SUBSYSTEM=="net", KERNEL=="wlan*", RUN+="${pkgs.iw}/bin/iw dev %k set power_save on" -- cgit 1.4.1