creek
The AI Image Editor of 2030git clone https://github.com/maydayv7/creek
flake.nix (1212B)
1{
2 description = "CreekUI Development";
3
4 inputs = {
5 nixpkgs.url = "github:flox/nixpkgs";
6 utils.url = "github:numtide/flake-utils";
7 };
8
9 outputs =
10 {
11 self,
12 nixpkgs,
13 utils,
14 }:
15 utils.lib.eachDefaultSystem (
16 system:
17 let
18 pkgs = import nixpkgs {
19 inherit system;
20 config = {
21 allowUnfree = true;
22 cudaSupport = true;
23 };
24 };
25 in
26 {
27 devShells = rec {
28 default = app;
29 app = import ./shell.nix { inherit pkgs; };
30 server = import ./flask/shell.nix { inherit pkgs; };
31 };
32 }
33 );
34
35 # Binary Cache
36 nixConfig = {
37 trusted-substituters = [
38 "https://cache.nixos.org"
39 "https://nixpkgs-unfree.cachix.org"
40 "https://nix-community.cachix.org"
41 "https://cache.flox.dev"
42 ];
43 trusted-public-keys = [
44 "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
45 "nixpkgs-unfree.cachix.org-1:hqvoInulhbV4nJ9yJOEr+4wxhDV4xq2d1DK7S6Nj6rs="
46 "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
47 "flox-cache-public-1:7F4OyH7ZCnFhcze3fJdfyXYLQw/aV7GEed86nQ7IsOs="
48 ];
49 };
50}