-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
95 lines (72 loc) · 2.23 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
{
nixConfig.extra-substituters = ["https://zeek.cachix.org"];
nixConfig.extra-trusted-public-keys = ["zeek.cachix.org-1:Jv0hB/P5eF7RQUZgSQiVqzqzgweP29YIwpSiukGlDWQ="];
description = "DataLake";
inputs = {
nixpkgs.follows = "std-ext/nixpkgs";
nixos.follows = "hive/nixos";
};
inputs = {
std-ext.url = "github:gtrunsec/std-ext";
std-data-collection.follows = "std-ext/std-data-collection";
std.follows = "std-ext/std";
org-roam-book-template.follows = "std-ext/org-roam-book-template";
hive.url = "github:gtrunsec/hive";
desci.url = "github:gtrunsec/desci";
desci.inputs.std.follows = "std";
dataflow2nix.url = "github:gtrunsec/dataflow2nix";
dataflow2nix.inputs.nixpkgs.follows = "nixpkgs";
dataflow2nix.inputs.std.follows = "std";
};
outputs = {
self,
std,
hive,
...
} @ inputs:
std.growOn {
inherit inputs;
systems = [
"aarch64-darwin"
"aarch64-linux"
"x86_64-darwin"
"x86_64-linux"
];
cellsFrom = ./nix;
cellBlocks = with std.blockTypes;
[
(installables "packages")
(nixago "nixago")
(data "config")
(functions "devshellProfiles")
(devshells "devshells")
(runnables "entrypoints")
(runnables "onPremises")
(functions "generators")
(functions "lib")
(functions "nixosProfiles")
(functions "microvmProfiles")
(functions "nixosModules")
(functions "homeModules")
(functions "overlays")
(data "homeConfigurations")
(data "nixosConfigurations")
(files "configFiles")
(files "dockerComposes")
(data "schemaProfiles")
(data "consulProfiles")
(data "nomadJobs")
(data "terranix")
(data "cargoMakeJobs")
]
++ [
(containers "containers")
(files "containerJobs")
];
} {
devShells = inputs.std.harvest inputs.self [["automation" "devshells"]];
overlays = (inputs.std.harvest inputs.self [["opencti" "overlays"]]).x86_64-linux;
} {
nixosConfigurations = hive.lib.nixosConfigurations "nixosConfigurations" self;
};
}