From ba319a2cdc690241987e41bd433b95ae22049281 Mon Sep 17 00:00:00 2001 From: Asmir A Date: Thu, 14 Mar 2024 15:07:47 +0100 Subject: [PATCH] nixy: add v4l2loopback module --- nixy/configuration.nix | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/nixy/configuration.nix b/nixy/configuration.nix index 8f6c342..d3bebe4 100644 --- a/nixy/configuration.nix +++ b/nixy/configuration.nix @@ -33,7 +33,7 @@ }; boot = { - extraModulePackages = with config.boot.kernelPackages; [usbip]; + extraModulePackages = with config.boot.kernelPackages; [usbip v4l2loopback]; initrd.compressor = "zstd"; initrd.kernelModules = ["amdgpu"]; binfmt.emulatedSystems = ["wasm32-wasi" "x86_64-windows"]; @@ -190,18 +190,15 @@ udev = { packages = [pkgs.rtl-sdr pkgs.openhantek6022 pkgs.openocd]; extraRules = '' - #Xilinx FTDI - ACTION=="add", ATTR{idVendor}=="0403", ATTR{manufacturer}=="Xilinx", MODE:="666" + #Xilinx FTDI + ACTION=="add", ATTR{idVendor}=="0403", ATTR{manufacturer}=="Xilinx", MODE:="666" - #Xilinx Digilent - ATTR{idVendor}=="1443", MODE:="666" - ACTION=="add", ATTR{idVendor}=="0403", ATTR{manufacturer}=="Digilent", MODE:="666" + #Xilinx Digilent + ATTR{idVendor}=="1443", MODE:="666" + ACTION=="add", ATTR{idVendor}=="0403", ATTR{manufacturer}=="Digilent", MODE:="666" #Arduino UNO r4 SUBSYSTEMS=="usb", ATTRS{idVendor}=="2341", MODE:="0666" - - #ST-Link - ''; };