From e1c6396153cf1cbd01248e636f08f2afc5cd778b Mon Sep 17 00:00:00 2001 From: alejandro-angulo Date: Sun, 6 Oct 2024 19:59:39 -0700 Subject: [PATCH] Configured udev rules for working with micro:bit v2 --- systems/x86_64-linux/gospel/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/systems/x86_64-linux/gospel/default.nix b/systems/x86_64-linux/gospel/default.nix index bc8ffb3..41cc871 100644 --- a/systems/x86_64-linux/gospel/default.nix +++ b/systems/x86_64-linux/gospel/default.nix @@ -63,6 +63,13 @@ system.monitoring.enable = true; }; + services.udev.extraRules = '' + # CMSIS-DAP for microbit + ACTION!="add|change", GOTO="microbit_rules_end" + SUBSYSTEM=="usb", ATTR{idVendor}=="0d28", ATTR{idProduct}=="0204", TAG+="uaccess" + LABEL="microbit_rules_end" + ''; + services.gitea-actions-runner.instances = { gospel = { enable = true;