Files
zmk-config-hillside46/flake.nix
unexplrd 79a3f7e19a config/hillside46.keymap: qwerty by default
config/hillside46.conf: add CONFIG_ZMK_POINTING
flake.nix: update hash, remove CONFIG_ZMK_POINTING

now that colemak-dh-ortho layout is set in the operating system/desktop
environment for me, qwerty layer is the default, and colemak-dh layer is still
there for other usecases


Signed-off-by: unexplrd <unexplrd@linerds.us>
2025-06-23 17:20:33 +03:00

47 lines
1.2 KiB
Nix

{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
zmk-nix = {
url = "github:lilyinstarlight/zmk-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = {
self,
nixpkgs,
zmk-nix,
}: let
forAllSystems = nixpkgs.lib.genAttrs (nixpkgs.lib.attrNames zmk-nix.packages);
in {
packages = forAllSystems (system: rec {
default = firmware;
firmware = zmk-nix.legacyPackages.${system}.buildSplitKeyboard {
name = "firmware";
src = nixpkgs.lib.sourceFilesBySuffices self [".board" ".cmake" ".conf" ".defconfig" ".dts" ".dtsi" ".json" ".keymap" ".overlay" ".shield" ".yml" "_defconfig"];
board = "nice_nano_v2";
shield = "hillside46_%PART%";
zephyrDepsHash = "sha256-R+2W/onIy4VfB61OkiNoZyez20VtVDbp2GnAALXwYt8=";
meta = {
description = "ZMK firmware";
license = nixpkgs.lib.licenses.mit;
platforms = nixpkgs.lib.platforms.all;
};
};
flash = zmk-nix.packages.${system}.flash.override {inherit firmware;};
update = zmk-nix.packages.${system}.update;
});
devShells = forAllSystems (system: {
default = zmk-nix.devShells.${system}.default;
});
};
}