From 80ac8f20244e432376725ab1971142cd431980c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabi=C3=A1n=20Montero?= Date: Wed, 17 Aug 2022 02:53:31 -0600 Subject: [PATCH] =?UTF-8?q?a=C3=B1ade=20soporte=20para=20la=20FPGA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- base/default.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/base/default.nix b/base/default.nix index 203e5b2..a740ac0 100644 --- a/base/default.nix +++ b/base/default.nix @@ -62,6 +62,18 @@ groups.fabian.gid = 1002; }; + # esto es de la FGPA, eliminar cuando termine el curso + services.udev.extraRules = '' + # USB-Blaster + ATTRS{idVendor}=="09fb", ATTRS{idProduct}=="6001", MODE="660", GROUP="dialout", TAG+="uaccess" + ATTRS{idVendor}=="09fb", ATTRS{idProduct}=="6002", MODE="660", GROUP="dialout", TAG+="uaccess" + ATTRS{idVendor}=="09fb", ATTRS{idProduct}=="6003", MODE="660", GROUP="dialout", TAG+="uaccess" + + # USB-Blaster II + ATTRS{idVendor}=="09fb", ATTRS{idProduct}=="6010", MODE="660", GROUP="dialout", TAG+="uaccess" + ATTRS{idVendor}=="09fb", ATTRS{idProduct}=="6810", MODE="660", GROUP="dialout", TAG+="uaccess" + ''; + users.users.temp = { isNormalUser = true; extraGroups = [ "wheel" ];