add Planck EZ udev rules

This commit is contained in:
Felix Schröter 2019-10-21 16:55:37 +02:00 committed by Felix Schröter
parent 4b9a3f0d53
commit d8fd45187e
3 changed files with 12 additions and 0 deletions

10
common/planck.nix Normal file
View file

@ -0,0 +1,10 @@
{ config, pkgs, ... }:
{
services.udev.extraRules = ''
# STM32 rules for the Planck EZ Standard / Glow
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="df11", \
MODE:="0666", \
SYMLINK+="stm32_dfu"
'';
}

View file

@ -12,6 +12,7 @@ in
./common/base-hardware.nix
./common/gpu-nvidia.nix
./common/ledger.nix
./common/planck.nix
./common/system.nix
./common/nix.nix
./common/i18n.nix

View file

@ -11,6 +11,7 @@ in
<home-manager/nixos>
./common/base-hardware.nix
./common/gpu-bumblebee.nix
./common/planck.nix
./common/system.nix
./common/nix.nix
./common/i18n.nix