build(flake.lock,flake.nix): add git-hooks and dedupe_gitignore
This commit is contained in:
parent
295f5daba9
commit
63609ffa14
3 changed files with 66 additions and 0 deletions
13
flake.nix
13
flake.nix
|
@ -16,9 +16,22 @@
|
|||
url = "github:nicknovitski/make-shell";
|
||||
inputs.flake-compat.follows = "dedupe_flake-compat";
|
||||
};
|
||||
# git-hooks ensures nix flake check is ran before commits
|
||||
git-hooks = {
|
||||
url = "github:cachix/git-hooks.nix";
|
||||
inputs = {
|
||||
flake-compat.follows = "dedupe_flake-compat";
|
||||
nixpkgs.follows = "nixpkgs";
|
||||
gitignore.follows = "dedupe_gitignore";
|
||||
};
|
||||
};
|
||||
|
||||
# The following are not used but are here for deduplication.
|
||||
dedupe_flake-compat.url = "github:edolstra/flake-compat";
|
||||
dedupe_gitignore = {
|
||||
url = "github:hercules-ci/gitignore.nix";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = inputs: inputs.flake-parts.lib.mkFlake { inherit inputs; } (inputs.import-tree ./modules);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue