2024-11-15 00:31:55 +01:00
|
|
|
{ pkgs, depot, ... }:
|
2024-10-26 18:23:51 +02:00
|
|
|
rec {
|
2024-11-15 00:31:55 +01:00
|
|
|
firmware = depot.users.flokli.keyboards.buildSplitKeyboard {
|
2024-10-26 18:23:51 +02:00
|
|
|
name = "corneish_zen_v1";
|
|
|
|
board = "corneish_zen_v1_%PART%";
|
|
|
|
zephyrDepsHash = "sha256-D5CAlrO/E6DPbtUJyh/ec8ACpo1XM1jx2gLS2TpklBQ=";
|
2024-11-15 00:31:55 +01:00
|
|
|
src = depot.users.flokli.keyboards.miryoku_config;
|
2024-10-26 18:23:51 +02:00
|
|
|
};
|
|
|
|
|
2024-11-15 00:31:55 +01:00
|
|
|
config-flat = depot.users.flokli.keyboards.mkFlatConfig "corneish_zen";
|
|
|
|
|
2024-10-26 18:23:51 +02:00
|
|
|
flash-left = pkgs.writeShellScript "flash.sh" ''
|
|
|
|
cp ${firmware}/zmk_left.uf2 /run/media/$USER/CORNEISHZEN/
|
|
|
|
'';
|
|
|
|
|
|
|
|
flash-right = pkgs.writeShellScript "flash.sh" ''
|
|
|
|
cp ${firmware}/zmk_right.uf2 /run/media/$USER/CORNEISHZEN/
|
|
|
|
'';
|
2024-11-15 00:31:55 +01:00
|
|
|
|
|
|
|
meta.ci.targets = [
|
|
|
|
"config-flat"
|
|
|
|
"firmware"
|
|
|
|
];
|
2024-10-26 18:23:51 +02:00
|
|
|
}
|