framework: Fix headphone noise when on powersave

https://community.frame.work/t/headphone-jack-intermittent-noise/5246/55
This commit is contained in:
Andrew Marshall 2022-05-19 15:51:19 -04:00
parent 6b4ebea909
commit f3dfd30170

View file

@ -16,6 +16,12 @@
# For fingerprint support # For fingerprint support
services.fprintd.enable = true; 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 # HiDPI
# Leaving here for documentation # Leaving here for documentation
# hardware.video.hidpi.enable = lib.mkDefault true; # hardware.video.hidpi.enable = lib.mkDefault true;