From cfe84295f8423dfae09f6eed105370063a5423b3 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Thu, 7 Nov 2024 21:32:39 -0500 Subject: [PATCH] hw/laptop: remove libcamera battery drain workaround following upstream bump to 0.3.2 --- hwModules/common/laptop/default.nix | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/hwModules/common/laptop/default.nix b/hwModules/common/laptop/default.nix index 947ae9ff..ed327b5c 100644 --- a/hwModules/common/laptop/default.nix +++ b/hwModules/common/laptop/default.nix @@ -4,17 +4,6 @@ ... }: { services = { - pipewire.wireplumber.extraConfig = { - # Pipewire eats battery by never disabling the camera. - "10-disable-camera" = { - "wireplumber.profiles" = { - main = { - "monitor.libcamera" = "disabled"; - }; - }; - }; - }; - power-profiles-daemon.enable = lib.mkDefault true; udev.extraRules = ''