From 5cfd4425361c33642cc836be990097e9049b9fd3 Mon Sep 17 00:00:00 2001 From: Mark Nipper Date: Sat, 2 Mar 2024 03:03:31 -0800 Subject: Add SDRplay udev rules --- ginaz/configuration.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ginaz/configuration.nix b/ginaz/configuration.nix index 74ca52c..e37b044 100644 --- a/ginaz/configuration.nix +++ b/ginaz/configuration.nix @@ -235,6 +235,13 @@ jack.enable = true; }; services.printing.enable = true; + services.udev.extraRules = '' + SUBSYSTEM=="usb",ENV{DEVTYPE}=="usb_device",ATTRS{idVendor}=="1df7",ATTRS{idProduct}=="2500",MODE:="0666" + SUBSYSTEM=="usb",ENV{DEVTYPE}=="usb_device",ATTRS{idVendor}=="1df7",ATTRS{idProduct}=="3000",MODE:="0666" + SUBSYSTEM=="usb",ENV{DEVTYPE}=="usb_device",ATTRS{idVendor}=="1df7",ATTRS{idProduct}=="3010",MODE:="0666" + SUBSYSTEM=="usb",ENV{DEVTYPE}=="usb_device",ATTRS{idVendor}=="1df7",ATTRS{idProduct}=="3020",MODE:="0666" + SUBSYSTEM=="usb",ENV{DEVTYPE}=="usb_device",ATTRS{idVendor}=="1df7",ATTRS{idProduct}=="3030",MODE:="0666" + ''; services.xserver = { displayManager.defaultSession = "xsession"; displayManager.lightdm = { -- cgit v1.2.3