Fixed udev rules
This commit is contained in:
parent
e1c6396153
commit
c382929d9a
|
@ -63,12 +63,18 @@
|
||||||
system.monitoring.enable = true;
|
system.monitoring.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
services.udev.extraRules = ''
|
services.udev.packages = [
|
||||||
# CMSIS-DAP for microbit
|
(pkgs.writeTextFile {
|
||||||
ACTION!="add|change", GOTO="microbit_rules_end"
|
name = "microbit-udev-rules";
|
||||||
SUBSYSTEM=="usb", ATTR{idVendor}=="0d28", ATTR{idProduct}=="0204", TAG+="uaccess"
|
text = ''
|
||||||
LABEL="microbit_rules_end"
|
# 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"
|
||||||
|
'';
|
||||||
|
destination = "/etc/udev/rules.d/69-microbit.rules";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
services.gitea-actions-runner.instances = {
|
services.gitea-actions-runner.instances = {
|
||||||
gospel = {
|
gospel = {
|
||||||
|
|
Loading…
Reference in a new issue