ma hw/switch: init udev rules
This commit is contained in:
parent
29752c0970
commit
56945ee3f2
10
makefu/2configs/hw/switch.nix
Normal file
10
makefu/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 New Issue
Block a user