mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 22:11:33 +01:00
Allow access to labrador usb device
This commit is contained in:
parent
b2cad2defa
commit
e06d5e96d0
1 changed files with 6 additions and 0 deletions
|
|
@ -26,4 +26,10 @@
|
||||||
auto-cpufreq.enable = true;
|
auto-cpufreq.enable = true;
|
||||||
logind.lidSwitch = "ignore";
|
logind.lidSwitch = "ignore";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Allow access to labrador usb device
|
||||||
|
services.udev.extraRules = ''
|
||||||
|
SUBSYSTEM=="usb", ATTRS{idVendor}=="03eb", MODE="0666"
|
||||||
|
SUBSYSTEM=="usb_device", ATTRS{idVendor}=="03eb", MODE="0666"
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue