From cc8f6d9ae8285d1f9926c5b3080c456a945944f8 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Wed, 13 May 2020 14:21:34 +0800 Subject: [PATCH] nixops: add udev rules for saleae + oceanoptics --- nixops/desktop.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nixops/desktop.nix b/nixops/desktop.nix index ed54c3c..edc6bce 100644 --- a/nixops/desktop.nix +++ b/nixops/desktop.nix @@ -112,6 +112,10 @@ SUBSYSTEM=="usb", ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="6089", MODE="0660" SUBSYSTEM=="usb", ATTRS{idVendor}=="2cf0", ATTRS{idProduct}=="5250", MODE="0660", GROUP="plugdev" # personal measurement device SUBSYSTEM=="usb", ATTRS{idVendor}=="09db", ATTRS{idProduct}=="007a", MODE="0660", GROUP="plugdev" +# saleae +SUBSYSTEM=="usb", ATTRS{idVendor}=="0925", ATTRS{idProduct}=="3881", MODE="0660", GROUP="plugdev" +# ocean optics +SUBSYSTEM=="usb", ATTRS{idVendor}=="2457", ATTRS{idProduct}=="1002", MODE="0660", GROUP="plugdev" ''; nix.binaryCachePublicKeys = ["nixbld.m-labs.hk-1:5aSRVA5b320xbNvu30tqxVPXpld73bhtOeH6uAjRyHc="];