nixy: add v4l2loopback module

This commit is contained in:
Asmir A 2024-03-14 15:07:47 +01:00
parent bb9cb50afb
commit ba319a2cdc
Signed by: asmir
GPG Key ID: 020C42B7A9ABA3E2

View File

@ -33,7 +33,7 @@
}; };
boot = { boot = {
extraModulePackages = with config.boot.kernelPackages; [usbip]; extraModulePackages = with config.boot.kernelPackages; [usbip v4l2loopback];
initrd.compressor = "zstd"; initrd.compressor = "zstd";
initrd.kernelModules = ["amdgpu"]; initrd.kernelModules = ["amdgpu"];
binfmt.emulatedSystems = ["wasm32-wasi" "x86_64-windows"]; binfmt.emulatedSystems = ["wasm32-wasi" "x86_64-windows"];
@ -190,18 +190,15 @@
udev = { udev = {
packages = [pkgs.rtl-sdr pkgs.openhantek6022 pkgs.openocd]; packages = [pkgs.rtl-sdr pkgs.openhantek6022 pkgs.openocd];
extraRules = '' extraRules = ''
#Xilinx FTDI #Xilinx FTDI
ACTION=="add", ATTR{idVendor}=="0403", ATTR{manufacturer}=="Xilinx", MODE:="666" ACTION=="add", ATTR{idVendor}=="0403", ATTR{manufacturer}=="Xilinx", MODE:="666"
#Xilinx Digilent #Xilinx Digilent
ATTR{idVendor}=="1443", MODE:="666" ATTR{idVendor}=="1443", MODE:="666"
ACTION=="add", ATTR{idVendor}=="0403", ATTR{manufacturer}=="Digilent", MODE:="666" ACTION=="add", ATTR{idVendor}=="0403", ATTR{manufacturer}=="Digilent", MODE:="666"
#Arduino UNO r4 #Arduino UNO r4
SUBSYSTEMS=="usb", ATTRS{idVendor}=="2341", MODE:="0666" SUBSYSTEMS=="usb", ATTRS{idVendor}=="2341", MODE:="0666"
#ST-Link
''; '';
}; };