mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-30 22:57:55 +00:00
bahaghari/shell: add treefmt config and replace nixpkgs-fmt with the official formatter
This commit is contained in:
parent
c19b9738f2
commit
ad32539742
@ -14,6 +14,6 @@ mkShell {
|
||||
npins
|
||||
|
||||
treefmt
|
||||
nixpkgs-fmt
|
||||
nixfmt-rfc-style
|
||||
];
|
||||
}
|
||||
|
3
subprojects/bahaghari/treefmt.toml
Normal file
3
subprojects/bahaghari/treefmt.toml
Normal file
@ -0,0 +1,3 @@
|
||||
[formatter.nix]
|
||||
command = "nixfmt"
|
||||
includes = [ "*.nix" ]
|
Loading…
Reference in New Issue
Block a user