Files
cover-theif/flake.nix
T
2026-06-11 00:59:18 -05:00

43 lines
914 B
Nix

{
description = "esp32 cover theif";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
flake-parts.url = "github:hercules-ci/flake-parts";
project-templates = {
url = "git+https://git.krantz.one/reed/project-templates";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-parts.follows = "flake-parts";
};
};
outputs = {
flake-parts,
project-templates,
...
} @ inputs:
flake-parts.lib.mkFlake {inherit inputs;} {
imports = [
project-templates.flakeModules.rust-esp32-c6
];
systems = ["aarch64-linux" "x86_64-linux" "aarch64-darwin"];
perSystem = {pkgs, ...}: {
krantz.rust = {
esp32-c6 = {
enable = true;
};
enable = true;
src = ./.;
# runtimeDeps = with pkgs; [];
# buildDeps = with pkgs; [];
};
};
};
}