amke sure sdr udev groups match
This commit is contained in:
parent
6e5955802a
commit
52772e8b12
1 changed files with 6 additions and 1 deletions
|
@ -11,9 +11,14 @@
|
||||||
(with pkgs; [ ]);
|
(with pkgs; [ ]);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
users.extraUsers.cyryl.extraGroups = [ "plugdev" ];
|
||||||
|
users.groups = { "plugdev" = { }; };
|
||||||
services.udev = {
|
services.udev = {
|
||||||
packages = [ pkgs.rtl-sdr ];
|
packages = [ pkgs.rtl-sdr ];
|
||||||
extraRules = "";
|
extraRules = ''
|
||||||
|
# RTL2832U OEM vid/pid, e.g. ezcap EzTV668 (E4000), Newsky TV28T (E4000/R820T) etc.
|
||||||
|
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0bda", ATTRS{idProduct}=="2838", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="plugdev"
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
# dont load DVB-T modules automatically
|
# dont load DVB-T modules automatically
|
||||||
|
|
Loading…
Reference in a new issue