diff options
author | Alan Pearce | 2018-04-06 14:16:59 +0200 |
---|---|---|
committer | Alan Pearce | 2018-04-06 14:16:59 +0200 |
commit | d2f24270cae82631df86479a2d3aee5a63290ff3 (patch) | |
tree | 6348a6da7c81983146eb8b45efd85b0fd1fb172d /modules/hardware | |
parent | 906838d6f08e42d0e840808fffb8952abc859d5f (diff) | |
download | nixfiles-d2f24270cae82631df86479a2d3aee5a63290ff3.tar.lz nixfiles-d2f24270cae82631df86479a2d3aee5a63290ff3.tar.zst nixfiles-d2f24270cae82631df86479a2d3aee5a63290ff3.zip |
Add support for flashing model 01
Diffstat (limited to 'modules/hardware')
-rw-r--r-- | modules/hardware/keyboardio-model01.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/hardware/keyboardio-model01.nix b/modules/hardware/keyboardio-model01.nix new file mode 100644 index 00000000..33a3fd65 --- /dev/null +++ b/modules/hardware/keyboardio-model01.nix @@ -0,0 +1,7 @@ +{ config, pkgs, ... }: + +{ services.udev.extraRules = '' + SUBSYSTEMS=="usb", ATTRS{idVendor}=="1209", ATTRS{idProduct}=="2300", SYMLINK+="model01", ENV{ID_MM_DEVICE_IGNORE}:="1", ENV{ID_MM_CANDIDATE}:="0" + SUBSYSTEMS=="usb", ATTRS{idVendor}=="1209", ATTRS{idProduct}=="2301", SYMLINK+="model01", ENV{ID_MM_DEVICE_IGNORE}:="1", ENV{ID_MM_CANDIDATE}:="0" + ''; +} |