mirror of
https://github.com/denismhz/flake.git
synced 2025-11-09 16:16:23 +01:00
45 lines
1.2 KiB
Nix
45 lines
1.2 KiB
Nix
{
|
|
nixConfig = {
|
|
extra-substituters = [ "https://ai.cachix.org" ];
|
|
extra-trusted-public-keys = [ "ai.cachix.org-1:N9dzRK+alWwoKXQlnn0H6aUx0lU/mspIoz8hMvGvbbc=" ];
|
|
};
|
|
|
|
description = "A Nix Flake that makes AI reproducible and easy to run";
|
|
|
|
inputs = {
|
|
nixpkgs = {
|
|
url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
};
|
|
invokeai-src = {
|
|
url = "github:invoke-ai/InvokeAI/v2.2.5";
|
|
flake = false;
|
|
};
|
|
koboldai-src = {
|
|
url = "github:koboldai/koboldai-client/1.19.2";
|
|
flake = false;
|
|
};
|
|
flake-parts = {
|
|
url = "github:hercules-ci/flake-parts";
|
|
inputs.nixpkgs-lib.follows = "nixpkgs";
|
|
};
|
|
hercules-ci-effects = {
|
|
url = "github:hercules-ci/hercules-ci-effects";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
};
|
|
outputs = { flake-parts, invokeai-src, hercules-ci-effects, ... }@inputs:
|
|
flake-parts.lib.mkFlake { inherit inputs; } {
|
|
systems = [
|
|
"x86_64-linux"
|
|
];
|
|
imports = [
|
|
hercules-ci-effects.flakeModule
|
|
./modules/dependency-sets
|
|
./modules/aipython3
|
|
./projects/invokeai
|
|
./projects/koboldai
|
|
./website
|
|
];
|
|
};
|
|
}
|