tvl-depot/users/flokli/keyboards/chocofi/default.nix
sterni 131e7cca10 chore(3p/sources): Bump channels & overlays (2024-12-22)
* //users/flokli/keyboards/chocofi:
  The hash got invalidated somehow which I've updated (to what
  https://buildkite.com/tvl/depot/builds/37991#0193f512-78ba-491f-af60-a23e987def95
  showed). This seems to have triggered an update of ZMK and some
  options have gotten renamed.

Change-Id: I5a62cd4636c23bfdeae671da7b8acb0f02cc2263
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12905
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: sterni <sternenseemann@systemli.org>
Reviewed-by: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
2024-12-29 15:02:22 +00:00

29 lines
826 B
Nix

{ 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:1hr304xhj596a85mmy3zl2y0bl9w143h9bj5qk7wmqx46mbs4kb0";
src = depot.users.flokli.keyboards.miryoku_config;
extraCmakeFlags = [
"-DCONFIG_ZMK_POINTING=y"
"-DCONFIG_ZMK_POINTING_SMOOTH_SCROLLING=y"
];
};
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"
];
}