summaryrefslogtreecommitdiff
path: root/flake/dev.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2023-05-07 14:34:46 -0400
committerseth <[email protected]>2023-05-07 14:35:00 -0400
commit9f241aa1191f20f47b220bb4b1d26c87c232dd1b (patch)
tree74cf39257ebf9b1d93eab2996c2270b394374f89 /flake/dev.nix
parent55dfba88206626d655bf9dace774ca7c25da4e1f (diff)
devshell: add nil to pre-commit-hooks
Diffstat (limited to 'flake/dev.nix')
-rw-r--r--flake/dev.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/flake/dev.nix b/flake/dev.nix
index dcf67d9..c00328b 100644
--- a/flake/dev.nix
+++ b/flake/dev.nix
@@ -3,7 +3,7 @@
inputs,
...
}: let
- inherit (inputs) pre-commit-hooks ragenix;
+ inherit (inputs) nil pre-commit-hooks ragenix;
in {
perSystem = {
pkgs,
@@ -17,6 +17,7 @@ in {
actionlint.enable = true;
alejandra.enable = true;
deadnix.enable = true;
+ nil.enable = true;
statix.enable = true;
stylua.enable = true;
};
@@ -30,12 +31,13 @@ in {
inherit (self.checks.${system}.pre-commit-check) shellHook;
packages = with pkgs; [
actionlint
- ragenix.packages.${system}.ragenix
alejandra
deadnix
fzf
git-crypt
just
+ nil.packages.${system}.nil
+ ragenix.packages.${system}.ragenix
statix
stylua
];