ma hw/switch: init udev rules
This commit is contained in:
parent
db8542bef0
commit
797606e5db
10
2configs/hw/switch.nix
Normal file
10
2configs/hw/switch.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
|
||||
users.extraUsers.${config.krebs.build.user.name}.extraGroups = [ "plugdev" ];
|
||||
|
||||
services.udev.extraRules = ''
|
||||
SUBSYSTEM=="usb", ATTR{idVendor}=="0955", MODE="0664", GROUP="plugdev"
|
||||
'';
|
||||
}
|
Loading…
Reference in a new issue