feat(flake): set formatter for nix fmt
This commit is contained in:
parent
3b5460f6c9
commit
ab0bc5268b
|
@ -179,6 +179,8 @@
|
||||||
hooks = { nixfmt.enable = true; };
|
hooks = { nixfmt.enable = true; };
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
|
formatter = nixpkgs.legacyPackages."${system}".nixfmt;
|
||||||
|
|
||||||
devShells.default =
|
devShells.default =
|
||||||
pkgs.mkShell { inherit (pre-commit-check) shellHook; };
|
pkgs.mkShell { inherit (pre-commit-check) shellHook; };
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue