mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-23 11:29:42 +01:00
Merge #505
505: Add Ethernet Support on Framework r=Mic92 a=dasnessie Co-authored-by: dasNessie <mail@dasnessie.de>
This commit is contained in:
commit
1108c1b861
2 changed files with 10 additions and 4 deletions
|
@ -34,10 +34,13 @@
|
|||
# For fingerprint support
|
||||
services.fprintd.enable = lib.mkDefault true;
|
||||
|
||||
# Fix headphone noise when on powersave
|
||||
# https://community.frame.work/t/headphone-jack-intermittent-noise/5246/55
|
||||
# Custom udev rules
|
||||
services.udev.extraRules = ''
|
||||
# Fix headphone noise when on powersave
|
||||
# https://community.frame.work/t/headphone-jack-intermittent-noise/5246/55
|
||||
SUBSYSTEM=="pci", ATTR{vendor}=="0x8086", ATTR{device}=="0xa0e0", ATTR{power/control}="on"
|
||||
# Ethernet expansion card support
|
||||
ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="0bda", ATTR{idProduct}=="8156", ATTR{power/autosuspend}="20"
|
||||
'';
|
||||
|
||||
# Mis-detected by nixos-generate-config
|
||||
|
|
|
@ -27,10 +27,13 @@
|
|||
# For fingerprint support
|
||||
services.fprintd.enable = lib.mkDefault true;
|
||||
|
||||
# Fix headphone noise when on powersave
|
||||
# https://community.frame.work/t/headphone-jack-intermittent-noise/5246/55
|
||||
# Custom udev rules
|
||||
services.udev.extraRules = ''
|
||||
# Fix headphone noise when on powersave
|
||||
# https://community.frame.work/t/headphone-jack-intermittent-noise/5246/55
|
||||
SUBSYSTEM=="pci", ATTR{vendor}=="0x8086", ATTR{device}=="0xa0e0", ATTR{power/control}="on"
|
||||
# Ethernet expansion card support
|
||||
ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="0bda", ATTR{idProduct}=="8156", ATTR{power/autosuspend}="20"
|
||||
'';
|
||||
|
||||
# Mis-detected by nixos-generate-config
|
||||
|
|
Loading…
Reference in a new issue