nixos-dotfiles/modules/switch-udev.nix

8 lines
226 B
Nix
Executable File

{pkgs, ... }:
{
services.udev.extraRules = ''
SUBSYSTEM=="usb", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="3000", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0955", ATTRS{idProduct}=="7321", MODE="0666"
'';
}