added keyboardBoth

This commit is contained in:
Sebastian Moser
2024-07-24 22:42:45 +02:00
parent a0d9dfc784
commit b491be57dc

View File

@@ -45,7 +45,7 @@ in rec {
shield = "charybdis_right";
#zephyrDepsHash = "sha256-n7xX/d8RLqDyPOX4AEo5hl/3tQtY6mZ6s8emYYtOYOg=";
zephyrDepsHash = "sha256-ra+uyEuneWoP1qkMUyhlLtq1rdWifsioqHnODqZC36o=";
zephyrDepsHash = "sha256-/ECQR3x0hzVGB7icGuWeyyNC9HuWmCgS5xA8r30gCAw=";
};
keyboardLeft = inputs.zmk-nix.legacyPackages.${system}.buildKeyboard {
@@ -62,6 +62,20 @@ in rec {
zephyrDepsHash = "sha256-/ECQR3x0hzVGB7icGuWeyyNC9HuWmCgS5xA8r30gCAw=";
};
keyboardBoth = inputs.zmk-nix.legacyPackages.${system}.buildSplitKeyboard {
name = "firmware";
src = ./zmk-config;
board = "nice_nano_v2";
# the charybdis has a left and right, so the default parts works
shield = "charybdis_%PART%";
#zephyrDepsHash = "sha256-n7xX/d8RLqDyPOX4AEo5hl/3tQtY6mZ6s8emYYtOYOg=";
zephyrDepsHash = "sha256-/ECQR3x0hzVGB7icGuWeyyNC9HuWmCgS5xA8r30gCAw=";
};
usbip-kernel = self.nixosConfigurations.main.config.system.build.kernel.overrideAttrs (prev: {
kernelPatches = prev.kernelPatches or [] ++ [ {
name = "usbip";