glove80-zmk-config/config/default.nix

12 lines
417 B
Nix
Raw Normal View History

2024-10-05 22:05:01 +00:00
{ pkgs ? import <nixpkgs> {}
, firmware ? import ../src {}
}:
let
config = ./.;
glove80_left = firmware.zmk.override { board = "glove80_lh"; keymap = "${config}/glove80.keymap"; kconfig = "${config}/glove80.conf"; };
glove80_right = firmware.zmk.override { board = "glove80_rh"; keymap = "${config}/glove80.keymap"; kconfig = "${config}/glove80.conf"; };
in firmware.combine_uf2 glove80_left glove80_right