Update flake

This commit is contained in:
Sicheng Pan 2025-11-13 00:07:04 -08:00
parent 7132c0648d
commit 32c499da0a
2 changed files with 91 additions and 171 deletions

View file

@ -1,12 +1,30 @@
{
inputs = {
devenv.url = "github:cachix/devenv";
espkgs.url = "github:mirrexagon/nixpkgs-esp-dev";
fenix.url = "github:nix-community/fenix";
devenv = {
inputs.nixpkgs.follows = "nixpkgs";
url = "github:cachix/devenv";
};
espkgs = {
inputs = {
flake-utils.follows = "flake-utils";
nixpkgs.follows = "nixpkgs";
};
url = "github:mirrexagon/nixpkgs-esp-dev";
};
fenix = {
inputs.nixpkgs.follows = "nixpkgs";
url = "github:nix-community/fenix";
};
flake-utils.url = "github:numtide/flake-utils";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nixpkgs-python.url = "github:cachix/nixpkgs-python";
rust-overlay.url = "github:oxalica/rust-overlay";
nixpkgs-python = {
inputs.nixpkgs.follows = "nixpkgs";
url = "github:cachix/nixpkgs-python";
};
rust-overlay = {
inputs.nixpkgs.follows = "nixpkgs";
url = "github:oxalica/rust-overlay";
};
};
outputs = inputs @ {
@ -21,8 +39,10 @@
pkgs = import nixpkgs {
inherit system;
config.allowUnfree = true;
overlays = [
(_: _: espkgs.packages.${system})
];
};
espPkgs = espkgs.packages.${system};
in {
packages = {
devenv-up = self.devShells.${system}.default.config.procfileScript;
@ -60,7 +80,7 @@
};
packages = with pkgs; [
espflash
espPkgs.esp-idf-full
# esp-idf-full
ldproxy
opencode
sops