summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/hw/slaesh.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2023-02-27 13:37:35 +0100
committermakefu <github@syntax-fehler.de>2023-02-27 13:37:35 +0100
commit8b4c488bff6b61e2e3ed7c75d96b161a66f5a8c4 (patch)
treeb56610da53fcecd0d3224f5a18642f99f5ebedc2 /makefu/2configs/hw/slaesh.nix
parent46ae6fc00c3e1aee5bc5db846ec91e30c430f0f1 (diff)
ma wbob.r: use new zigbee stick
Diffstat (limited to 'makefu/2configs/hw/slaesh.nix')
-rw-r--r--makefu/2configs/hw/slaesh.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/makefu/2configs/hw/slaesh.nix b/makefu/2configs/hw/slaesh.nix
new file mode 100644
index 000000000..1a7d053b9
--- /dev/null
+++ b/makefu/2configs/hw/slaesh.nix
@@ -0,0 +1,9 @@
+{ config, lib, pkgs, ... }:
+
+{
+
+ users.users.${config.krebs.build.user.name}.extraGroups = [ "dialout" ];
+ services.udev.extraRules = ''
+ SUBSYSTEM=="tty", ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="ea60", SYMLINK+="zigbee", MODE="0660", GROUP="dailout"
+ '';
+}