From fb3cb3d8110182a7022de31c300cc273e36c9a8a Mon Sep 17 00:00:00 2001 From: Ahwx Date: Sun, 15 Jun 2025 14:08:48 +0200 Subject: [PATCH] fix: disable light sensors and accelerometers since they comsume battery but are not used --- hosts/sakura/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hosts/sakura/default.nix b/hosts/sakura/default.nix index 50945a5..50363bb 100644 --- a/hosts/sakura/default.nix +++ b/hosts/sakura/default.nix @@ -41,6 +41,9 @@ laptop13.audioEnhancement.enable = true; }; + # Disable light sensors and accelerometers as they are not used and consume extra battery + hardware.sensor.iio.enable = lib.mkForce false; + networking.hostName = "sakura"; powerManagement = {