aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix13
1 files changed, 8 insertions, 5 deletions
diff --git a/flake.nix b/flake.nix
index d45282aa..afb0ec63 100644
--- a/flake.nix
+++ b/flake.nix
@@ -4,6 +4,7 @@
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
flake-parts.url = "github:hercules-ci/flake-parts";
+ nix-filter.url = "github:numtide/nix-filter";
pre-commit-hooks = {
url = "github:cachix/pre-commit-hooks.nix";
inputs.nixpkgs.follows = "nixpkgs";
@@ -20,12 +21,14 @@
};
};
- outputs = inputs:
- inputs.flake-parts.lib.mkFlake
- {inherit inputs;}
- {
+ outputs = {
+ flake-parts,
+ pre-commit-hooks,
+ ...
+ } @ inputs:
+ flake-parts.lib.mkFlake {inherit inputs;} {
imports = [
- inputs.pre-commit-hooks.flakeModule
+ pre-commit-hooks.flakeModule
./nix/dev.nix
./nix/distribution.nix