summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2023-08-17 19:12:30 -0400
committerseth <[email protected]>2023-08-17 19:12:30 -0400
commit583d7328baa423155c3c6fc250d8a19e81d10e88 (patch)
tree9b574aec3149c6c142cc208a3f0da4357dd25de1 /flake.nix
parent122f5a3452661ace85e93ae6c6fb2715e678f411 (diff)
parts/dev: use pre-commit flake module
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix12
1 files changed, 9 insertions, 3 deletions
diff --git a/flake.nix b/flake.nix
index 76c116f..f07881a 100644
--- a/flake.nix
+++ b/flake.nix
@@ -112,15 +112,21 @@
};
};
- outputs = inputs:
- inputs.flake-parts.lib.mkFlake
+ outputs = {
+ flake-parts,
+ getchoo,
+ pre-commit-hooks,
+ ...
+ } @ inputs:
+ flake-parts.lib.mkFlake
{inherit inputs;}
{
imports = [
./hosts
./parts
./users
- inputs.getchoo.flakeModules.homeConfigurations
+ getchoo.flakeModules.homeConfigurations
+ pre-commit-hooks.flakeModule
];
};
}