-
Notifications
You must be signed in to change notification settings - Fork 2
/
flake.nix
55 lines (39 loc) · 1.32 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
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
nixos.url = "github:NixOS/nixpkgs/nixos-22.05";
};
inputs = {
cells-lab.url = "github:GTrunSec/cells-lab";
std.follows = "cells-lab/std";
};
outputs = {std, ...} @ inputs:
std.growOn {
inherit inputs;
cellsFrom = ./nix;
cellBlocks = with std.blockTypes;[
(installables "packages")
(functions "devshellProfiles")
(devshells "devshells")
(runnables "entrypoints")
(data "config")
(files "configFiles")
(files "templates")
(functions "lib")
(microvms "microvmProfiles")
(functions "overlays")
(nixago "nixago")
(functions "nixosModules")
];
} {
overlays = (inputs.std.harvest inputs.self ["zeek" "overlays"]).x86_64-linux;
devShells = inputs.std.harvest inputs.self ["zeek" "devshells"];
lib = inputs.std.harvest inputs.self ["zeek" "lib"];
nixosModules = (inputs.std.harvest inputs.self ["zeek" "nixosModules"]).x86_64-linux;
packages = inputs.std.harvest inputs.self ["zeek" "packages"];
};
nixConfig.extra-trusted-substituters = ["https://zeek.cachix.org"];
nixConfig.extra-trusted-public-keys = [
"zeek.cachix.org-1:w590YE/k5sB26LSWvDCI3dccCXipBwyPenhBH2WNDWI="
];
}