-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
54 lines (51 loc) · 1.26 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
{
description = "tf-ncl with std&flak-parts";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
flake-parts.url = "github:hercules-ci/flake-parts";
flake-parts.inputs.nixpkgs-lib.follows = "nixpkgs";
};
inputs = {
tf-ncl.url = "github:tweag/tf-ncl";
tf-ncl.inputs.topiary.follows = "";
nickel.url = "github:tweag/nickel";
terraform-providers.url = "github:numtide/nixpkgs-terraform-providers-bin";
terraform-providers.inputs.nixpkgs.follows = "nixpkgs";
};
outputs =
inputs@{
self,
flake-parts,
nixpkgs,
...
}:
let
systems = [
"x86_64-linux"
"aarch64-linux"
"aarch64-darwin"
];
in
flake-parts.lib.mkFlake {inherit inputs;} {
inherit systems;
# Raw flake outputs (generally not system-dependent)
flake = {};
imports = [];
# Flake outputs that will be split by system
perSystem =
{
config,
pkgs,
inputs',
self',
...
}:
{};
};
nixConfig = {
extra-substituters = ["https://tweag-nickel.cachix.org"];
extra-trusted-public-keys = [
"tweag-nickel.cachix.org-1:GIthuiK4LRgnW64ALYEoioVUQBWs0jexyoYVeLDBwRA="
];
};
}