Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
{
description = "Flake for development tooling for Keyboard labs.";
inputs = {
flake-parts.url = "github:hercules-ci/flake-parts";
devenv-root = {
url = "file+file:///dev/null";
flake = false;
};
devenv = {
url = "github:cachix/devenv";
inputs.nixpkgs.follows = "nixpkgs";
};
fenix = {
url = "github:nix-community/fenix";
inputs.nixpkgs.follows = "nixpkgs";
};
naersk = {
url = "github:nmattia/naersk";
inputs.nixpkgs.follows = "nixpkgs";
};
# For the offline ISO,
# use same version of Nickel as Fak uses.
nickel = {
url = "github:tweag/nickel/1.2.1";
inputs.nixpkgs.follows = "nixpkgs";
};
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
nixos-generators = {
url = "github:nix-community/nixos-generators";
inputs.nixpkgs.follows = "nixpkgs";
};
systems.url = "github:nix-systems/default";
treefmt-nix = {
url = "github:numtide/treefmt-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = inputs @ {
self,
devenv,
flake-parts,
systems,
...
}:
flake-parts.lib.mkFlake {inherit inputs;} {
# nixpkgs-unstable 26.11 dropped x86_64-darwin (use 26.05-darwin if needed).
# Keep Apple Silicon Darwin; pcb/KiCad stays Linux-only via perSystem guards.
systems = [
"x86_64-linux"
"aarch64-linux"
"aarch64-darwin"
];
imports = [
devenv.flakeModule
./nix/flake-module.nix
./pcb/flake-module.nix
./firmware/keyberon/flake-module.nix
];
};
}
1920b9e9eThis file is pinned to the selected release. Download the original to open it in your design tool.