From f3dfd30170425adbc377ee502c3b4af13541b3ae Mon Sep 17 00:00:00 2001 From: Andrew Marshall Date: Thu, 19 May 2022 15:51:19 -0400 Subject: [PATCH] framework: Fix headphone noise when on powersave https://community.frame.work/t/headphone-jack-intermittent-noise/5246/55 --- framework/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/framework/default.nix b/framework/default.nix index 599f5f7..15ac0d2 100644 --- a/framework/default.nix +++ b/framework/default.nix @@ -16,6 +16,12 @@ # For fingerprint support services.fprintd.enable = true; + # Fix headphone noise when on powersave + # https://community.frame.work/t/headphone-jack-intermittent-noise/5246/55 + services.udev.extraRules = '' + SUBSYSTEM=="pci", ATTR{vendor}=="0x8086", ATTR{device}=="0xa0e0", ATTR{power/control}="on" + ''; + # HiDPI # Leaving here for documentation # hardware.video.hidpi.enable = lib.mkDefault true;