{ description = "albedo coding agent and terminal client"; inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; import-tree.url = "github:vic/import-tree"; flake-parts.url = "github:hercules-ci/flake-parts"; home-manager = { url = "github:nix-community/home-manager"; inputs.nixpkgs.follows = "nixpkgs"; }; treefmt-nix = { url = "github:numtide/treefmt-nix"; inputs.nixpkgs.follows = "nixpkgs"; }; pyproject-nix = { url = "github:pyproject-nix/pyproject.nix"; inputs.nixpkgs.follows = "nixpkgs"; }; uv2nix = { url = "github:pyproject-nix/uv2nix"; inputs.nixpkgs.follows = "nixpkgs"; inputs.pyproject-nix.follows = "pyproject-nix"; }; pyproject-build-systems = { url = "github:pyproject-nix/build-system-pkgs"; inputs.nixpkgs.follows = "nixpkgs"; inputs.uv2nix.follows = "uv2nix"; inputs.pyproject-nix.follows = "pyproject-nix"; }; # Pinned Zig usage CLI consumed by the daemon as a non-flake archive. # Spelled as attributes: Lix reads a bare URL's query string as fetcher # attributes and refuses `format`. usage-core = { type = "file"; url = "https://api.next.tangled.org/xrpc/org.tangled.temp.git.getArchive?repo=did%3Aplc%3A2lf7buutfnfcucljnmaypf7u&ref=3951be3&format=tar.gz&prefix=provide-usage-main"; flake = false; }; # tg, the Tangled CLI, for the dev shell. # A source input built with its own nix/tg.nix: its flake would bring # its own development tooling into this lock for one Go binary. Pinned to a # release: tg's main can require a Go newer than this nixpkgs carries. tg = { url = "git+https://tangled.org/aly.codes/tg?ref=refs/tags/v0.10.0"; flake = false; }; }; outputs = inputs @ {flake-parts, ...}: flake-parts.lib.mkFlake {inherit inputs;} { systems = [ "aarch64-darwin" "aarch64-linux" "x86_64-linux" ]; imports = [ (inputs.import-tree.filter (path: builtins.baseNameOf path == "package.nix") [./apps ./packages ./extensions ./tools ./python]) ./nix inputs.treefmt-nix.flakeModule ]; }; }