flake: add treefmt, reorganize flake, format using treefmt
This commit is contained in:
parent
967b613d91
commit
12aa7125b5
17 changed files with 187 additions and 123 deletions
9
treefmt.nix
Normal file
9
treefmt.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
projectRootFile = "flake.nix";
|
||||
programs = {
|
||||
nixfmt.enable = true;
|
||||
gofmt.enable = true;
|
||||
taplo.enable = true;
|
||||
prettier.enable = true;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue