forked from input-output-hk/cardano-playground
-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
57 lines (49 loc) · 2.06 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
45
46
47
48
49
50
51
52
53
54
55
56
57
{
description = "Cardano Playground: cardano testnet clusters";
inputs = {
nixpkgs.follows = "cardano-parts/nixpkgs";
nixpkgs-unstable.follows = "cardano-parts/nixpkgs-unstable";
flake-parts.follows = "cardano-parts/flake-parts";
cardano-parts.url = "github:input-output-hk/cardano-parts/v2024-12-02";
# cardano-parts.url = "path:/home/jlotoski/work/iohk/cardano-parts-wt/v2024-12-02";
# Local pins for additional customization:
cardano-node-hd.url = "github:IntersectMBO/cardano-node/utxo-hd-9.0";
cardano-node-9-2-1.url = "github:IntersectMBO/cardano-node/9.2.1";
# Voltaire backend swagger ui for private chain deployment
govtool.url = "github:johnalotoski/govtool/jl/2024-10-nix-fixups";
# UTxO-HD testing
cardano-node-utxo-hd.url = "github:IntersectMBO/cardano-node/utxo-hd-9.1.1";
# PParams api testing
cardano-node-pparams-api.url = "github:johnalotoski/cardano-node-pparams-api";
cardano-new-tracing.url = "github:IntersectMBO/cardano-node/jutaro/new_tracing10_1_2";
};
outputs = inputs: let
inherit (inputs.nixpkgs.lib) mkOption types;
inherit (inputs.cardano-parts.lib) recursiveImports;
in
inputs.flake-parts.lib.mkFlake {inherit inputs;} {
imports =
recursiveImports [
./flake
./perSystem
]
++ [
inputs.cardano-parts.flakeModules.aws
inputs.cardano-parts.flakeModules.cluster
inputs.cardano-parts.flakeModules.entrypoints
inputs.cardano-parts.flakeModules.jobs
inputs.cardano-parts.flakeModules.lib
inputs.cardano-parts.flakeModules.pkgs
inputs.cardano-parts.flakeModules.process-compose
inputs.cardano-parts.flakeModules.shell
{options.flake.opentofu = mkOption {type = types.attrs;};}
];
systems = ["x86_64-linux"];
debug = true;
};
nixConfig = {
extra-substituters = ["https://cache.iog.io"];
extra-trusted-public-keys = ["hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ="];
allow-import-from-derivation = true;
};
}