-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathflake.nix
More file actions
39 lines (34 loc) · 984 Bytes
/
flake.nix
File metadata and controls
39 lines (34 loc) · 984 Bytes
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
{
description = "DoomHammer's repository of flake templates";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
flake-parts = {
url = "github:hercules-ci/flake-parts";
inputs.nixpkgs-lib.follows = "nixpkgs";
};
# we can use this to provide overridable systems
systems.url = "github:nix-systems/default";
# this adds pre commit hooks via nix to our repo
git-hooks = {
url = "github:cachix/git-hooks.nix";
inputs = {
nixpkgs.follows = "nixpkgs";
flake-compat.follows = "";
};
};
flake-checker = {
url = "github:DeterminateSystems/flake-checker";
inputs.nixpkgs.follows = "nixpkgs";
};
# a tree-wide formatter
treefmt-nix = {
url = "github:numtide/treefmt-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs =
inputs@{ ... }:
inputs.flake-parts.lib.mkFlake { inherit inputs; } {
imports = [ ./.config/nix/parts ];
};
}