summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/hw
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2020-03-13 10:46:05 +0100
committermakefu <github@syntax-fehler.de>2020-03-13 10:46:05 +0100
commit807f4a4d1cff8b0e2c6de3528c67947db131ca68 (patch)
tree4ac48f839516186b6240e97467ab56632fade70a /makefu/2configs/hw
parente3c233af83fb54fb3b672ea692eea3a019cf032e (diff)
ma 2configs: cleanup
Diffstat (limited to 'makefu/2configs/hw')
-rw-r--r--makefu/2configs/hw/cc2531.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/makefu/2configs/hw/cc2531.nix b/makefu/2configs/hw/cc2531.nix
new file mode 100644
index 000000000..3bc2c6834
--- /dev/null
+++ b/makefu/2configs/hw/cc2531.nix
@@ -0,0 +1,10 @@
+{ config, lib, pkgs, ... }:
+
+{
+
+ users.users.${config.krebs.build.user.name}.extraGroups = [ "dialout" ];
+
+ services.udev.extraRules = ''
+ SUBSYSTEM=="tty", ATTRS{idVendor}=="0451", ATTRS{idProduct}=="16a8", SYMLINK+="cc2531", MODE="0660", GROUP="dailout"
+ '';
+}