summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/hw/slaesh.nix
diff options
context:
space:
mode:
authorlassulus <git@lassul.us>2023-04-18 12:49:31 +0200
committerlassulus <git@lassul.us>2023-04-18 12:49:31 +0200
commit45f61cffe9acfcf0b269d3cdbad96573b8f3c0d5 (patch)
tree0e5019b26129503c256637a26eb67d0bf6165c45 /makefu/2configs/hw/slaesh.nix
parent6ae9b8d8ed3440ffc634e468491b0da5d777379d (diff)
parentcaa8f83e79f7373bf234874b8614117c3f7a0710 (diff)
Merge remote-tracking branch 'gum/master'
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"
+ '';
+}