bahaghari/shell: add treefmt config and replace nixpkgs-fmt with the official formatter

This commit is contained in:
Gabriel Arazas 2024-08-01 09:02:40 +08:00
parent c19b9738f2
commit ad32539742
No known key found for this signature in database
GPG Key ID: 62104B43D00AA360
2 changed files with 4 additions and 1 deletions

View File

@ -14,6 +14,6 @@ mkShell {
npins
treefmt
nixpkgs-fmt
nixfmt-rfc-style
];
}

View File

@ -0,0 +1,3 @@
[formatter.nix]
command = "nixfmt"
includes = [ "*.nix" ]