This repository has been archived by the owner on Mar 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflake.nix
79 lines (59 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
{
nixConfig.extra-substituters = ["https://zeek.cachix.org" "https://vast.cachix.org"];
nixConfig.extra-trusted-public-keys = [
"zeek.cachix.org-1:w590YE/k5sB26LSWvDCI3dccCXipBwyPenhBH2WNDWI="
"vast.cachix.org-1:0L8rErLUuFAdspyGYYQK3Sgs9PYRMzkLEqS2GxfaQhA="
];
description = "https://github.com/tenzir/vast: 🔮 Visibility Across Space and Time – The network telemetry engine for data-driven security investigations.";
inputs = {
nixpkgs.follows = "cells-lab/nixpkgs";
cells-lab.url = "github:GTrunSec/cells-lab";
# std.url = "github:divnix/std?ref=refs/pull/164/head";
std.follows = "cells-lab/std";
std-data-collection.follows = "cells-lab/std-data-collection";
org-roam-book-template.follows = "cells-lab/org-roam-book-template";
std.inputs.n2c.follows = "n2c";
n2c.url = "github:nlewo/nix2container";
};
inputs = {
vast-upstream.url = "github:tenzir/vast";
};
outputs = {
std,
cells-lab,
...
} @ inputs:
std.growOn {
inherit inputs;
cellsFrom = ./nix;
cellBlocks = with std.blockTypes;
[
(installables "packages")
(nixago "nixago")
(functions "devshellProfiles")
(devshells "devshells")
(runnables "entrypoints")
(data "config")
(files "models")
(data "cargoMakeJobs")
(files "configFiles")
(files "templates")
(functions "lib")
(functions "overlays")
(functions "nixosModules")
]
++ [
# OCI soil
# four layers of packaging
(containers "containers")
(containers "oci-images")
# second layer of packaging
(runnables "operables")
];
} {
overlays = (inputs.std.harvest inputs.self ["vast" "overlays"]).x86_64-linux;
devShells = inputs.std.harvest inputs.self ["vast" "devshells"];
nixosModules = (inputs.std.harvest inputs.self ["vast" "nixosModules"]).x86_64-linux;
packages = inputs.std.harvest inputs.self ["vast" "packages"];
};
}