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