1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-30 06:49:43 +01:00
505: Add Ethernet Support on Framework r=Mic92 a=dasnessie



Co-authored-by: dasNessie <mail@dasnessie.de>
This commit is contained in:
bors[bot] 2022-11-20 19:51:13 +00:00 committed by GitHub
commit 1108c1b861
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 4 deletions

View file

@ -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

View file

@ -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