forked from nixified-ai/flake
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflake.nix
44 lines (42 loc) · 1.16 KB
/
flake.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
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.3.1.post2";
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
];
};
}