ma hw: add support for nswitch
This commit is contained in:
parent
1f4f51cbf1
commit
7bc97fcbac
14
makefu/2configs/hw/nswitch.nix
Normal file
14
makefu/2configs/hw/nswitch.nix
Normal file
@ -0,0 +1,14 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
|
||||
users.extraUsers.${config.krebs.build.user.name}.extraGroups = [ "dialout" ];
|
||||
|
||||
# 1: USB
|
||||
# 2: RCM
|
||||
services.udev.extraRules = ''
|
||||
SUBSYSTEM=="usb", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="3000", MODE="0660" ,GROUP="dialout"
|
||||
SUBSYSTEM=="usb", ATTRS{idVendor}=="0955", ATTRS{idProduct}=="7321", MODE="0660", GROUP="dialout"
|
||||
'';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user