summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/hw/switch.nix
blob: d46e8cf3fcf51ec02ff049fc345fb5924278af0c (plain)
1
2
3
4
5
6
7
8
9
10
{ config, lib, pkgs, ... }:

{

  users.extraUsers.${config.krebs.build.user.name}.extraGroups = [ "plugdev" ];

  services.udev.extraRules = ''
    SUBSYSTEM=="usb", ATTR{idVendor}=="0955", MODE="0664", GROUP="plugdev"
  '';
}