mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-27 05:19:43 +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
|
# For fingerprint support
|
||||||
services.fprintd.enable = lib.mkDefault true;
|
services.fprintd.enable = lib.mkDefault true;
|
||||||
|
|
||||||
|
# Custom udev rules
|
||||||
|
services.udev.extraRules = ''
|
||||||
# Fix headphone noise when on powersave
|
# Fix headphone noise when on powersave
|
||||||
# https://community.frame.work/t/headphone-jack-intermittent-noise/5246/55
|
# 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"
|
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
|
# Mis-detected by nixos-generate-config
|
||||||
|
|
|
@ -27,10 +27,13 @@
|
||||||
# For fingerprint support
|
# For fingerprint support
|
||||||
services.fprintd.enable = lib.mkDefault true;
|
services.fprintd.enable = lib.mkDefault true;
|
||||||
|
|
||||||
|
# Custom udev rules
|
||||||
|
services.udev.extraRules = ''
|
||||||
# Fix headphone noise when on powersave
|
# Fix headphone noise when on powersave
|
||||||
# https://community.frame.work/t/headphone-jack-intermittent-noise/5246/55
|
# 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"
|
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
|
# Mis-detected by nixos-generate-config
|
||||||
|
|
Loading…
Reference in a new issue