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

11 lines
228 B
Nix
Raw Normal View History

2018-10-21 21:10:56 +00:00
{ config, lib, pkgs, ... }:
{
users.extraUsers.${config.krebs.build.user.name}.extraGroups = [ "plugdev" ];
services.udev.extraRules = ''
SUBSYSTEM=="usb", ATTR{idVendor}=="0955", MODE="0664", GROUP="plugdev"
'';
}