blob: b8343f9592ccf1682f452a4c8c35636c55e83df0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
{ pkgs, depot, ... }:
rec {
firmware = depot.users.flokli.keyboards.buildSplitKeyboard {
name = "nice_nano_v2";
board = "nice_nano_v2";
shield = "corne_%PART% nice_view_adapter nice_view";
zephyrDepsHash = "sha256-D5CAlrO/E6DPbtUJyh/ec8ACpo1XM1jx2gLS2TpklBQ=";
src = depot.users.flokli.keyboards.miryoku_config;
};
config-flat = depot.users.flokli.keyboards.mkFlatConfig "corne";
flash-left = pkgs.writeShellScript "flash.sh" ''
cp ${firmware}/zmk_left.uf2 /run/media/$USER/NICENANO/
'';
flash-right = pkgs.writeShellScript "flash.sh" ''
cp ${firmware}/zmk_right.uf2 /run/media/$USER/NICENANO/
'';
meta.ci.targets = [
"config-flat"
"firmware"
];
}
|