add Planck EZ udev rules
This commit is contained in:
parent
4b9a3f0d53
commit
d8fd45187e
3 changed files with 12 additions and 0 deletions
10
common/planck.nix
Normal file
10
common/planck.nix
Normal 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"
|
||||
'';
|
||||
}
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue