-
Notifications
You must be signed in to change notification settings - Fork 4
/
flake.nix
50 lines (46 loc) · 1.44 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
{
description = "NixOS Facter";
# Add all your dependencies here
inputs = {
blueprint = {
url = "github:numtide/blueprint";
inputs.nixpkgs.follows = "nixpkgs";
inputs.systems.follows = "systems";
};
gomod2nix = {
url = "github:nix-community/gomod2nix";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-utils.follows = "flake-utils";
};
systems.url = "github:nix-systems/default";
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
flake-utils.inputs.systems.follows = "systems";
treefmt-nix = {
url = "github:numtide/treefmt-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
disko.url = "github:nix-community/disko";
disko.inputs.nixpkgs.follows = "nixpkgs";
hwinfo.url = "github:numtide/hwinfo";
hwinfo.inputs.nixpkgs.follows = "nixpkgs";
hwinfo.inputs.systems.follows = "systems";
hwinfo.inputs.blueprint.follows = "blueprint";
godoc.url = "github:numtide/godoc";
godoc.inputs.nixpkgs.follows = "nixpkgs";
godoc.inputs.systems.follows = "systems";
godoc.inputs.blueprint.follows = "blueprint";
godoc.inputs.treefmt-nix.follows = "treefmt-nix";
};
# Keep the magic invocations to minimum.
outputs = inputs:
inputs.blueprint {
prefix = "nix/";
inherit inputs;
systems = [
"aarch64-linux"
"riscv64-linux"
"x86_64-linux"
];
};
}