From d2f24270cae82631df86479a2d3aee5a63290ff3 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 6 Apr 2018 14:16:59 +0200 Subject: Add support for flashing model 01 --- modules/hardware/keyboardio-model01.nix | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 modules/hardware/keyboardio-model01.nix (limited to 'modules/hardware') diff --git a/modules/hardware/keyboardio-model01.nix b/modules/hardware/keyboardio-model01.nix new file mode 100644 index 0000000..33a3fd6 --- /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" + ''; +} -- cgit 1.4.1