aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Nipper <nipsy@bitgnome.net>2024-03-02 03:03:31 -0800
committerMark Nipper <nipsy@bitgnome.net>2024-03-02 03:03:31 -0800
commit5cfd4425361c33642cc836be990097e9049b9fd3 (patch)
tree4b88af537ce58d8ec255b03b891e95e9a42139b4
parent4e0a95863991a1c2452d4981bc36433c7abed1e7 (diff)
downloadnix-5cfd4425361c33642cc836be990097e9049b9fd3.tar
nix-5cfd4425361c33642cc836be990097e9049b9fd3.tar.gz
nix-5cfd4425361c33642cc836be990097e9049b9fd3.tar.bz2
nix-5cfd4425361c33642cc836be990097e9049b9fd3.tar.lz
nix-5cfd4425361c33642cc836be990097e9049b9fd3.tar.xz
nix-5cfd4425361c33642cc836be990097e9049b9fd3.tar.zst
nix-5cfd4425361c33642cc836be990097e9049b9fd3.zip
Add SDRplay udev rules
-rw-r--r--ginaz/configuration.nix7
1 files changed, 7 insertions, 0 deletions
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 = {