-
Notifications
You must be signed in to change notification settings - Fork 2
/
flake.nix
48 lines (43 loc) · 1.12 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
{
description = "DoomHammer's repository of flake templates";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
flake-parts = {
type = "github";
owner = "hercules-ci";
repo = "flake-parts";
inputs.nixpkgs-lib.follows = "nixpkgs";
};
# we can use this to provide overridable systems
systems = {
type = "github";
owner = "nix-systems";
repo = "default";
};
# this adds pre commit hooks via nix to our repo
git-hooks = {
type = "github";
owner = "cachix";
repo = "git-hooks.nix";
inputs = {
nixpkgs.follows = "nixpkgs";
nixpkgs-stable.follows = "";
flake-compat.follows = "";
};
};
flake-checker = {
type = "github";
owner = "DeterminateSystems";
repo = "flake-checker";
};
# a tree-wide formatter
treefmt-nix = {
type = "github";
owner = "numtide";
repo = "treefmt-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs =
inputs: inputs.flake-parts.lib.mkFlake { inherit inputs; } { imports = [ ./.config/nix/parts ]; };
}