🔧 update formatter.nix
This commit is contained in:
parent
7a6510a4e6
commit
32e0eacffa
1 changed files with 2 additions and 1 deletions
|
@ -4,11 +4,12 @@
|
||||||
|
|
||||||
perSystem = _: {
|
perSystem = _: {
|
||||||
treefmt = {
|
treefmt = {
|
||||||
|
# https://flake.parts/options/treefmt-nix
|
||||||
projectRootFile = ".git/config";
|
projectRootFile = ".git/config";
|
||||||
programs.nixfmt.enable = true;
|
programs.nixfmt.enable = true;
|
||||||
programs.terraform.enable = true;
|
programs.terraform.enable = true;
|
||||||
programs.hclfmt.enable = true;
|
programs.hclfmt.enable = true;
|
||||||
programs.jsonfmt.enable = true;
|
programs.deno.enable = true;
|
||||||
programs.yamlfmt.enable = true;
|
programs.yamlfmt.enable = true;
|
||||||
programs.black.enable = true;
|
programs.black.enable = true;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue