stockholm/makefu/2configs/hw/cc2531.nix

11 lines
269 B
Nix
Raw Normal View History

2020-03-13 09:46:05 +00:00
{ 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"
'';
}