glove80-zmk-config/config/default.nix
2024-10-05 23:05:01 +01:00

12 lines
417 B
Nix

{ 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