16 lines
382 B
Nix
16 lines
382 B
Nix
{ inputs, ... }:
|
|
{
|
|
imports = [ inputs.treefmt-nix.flakeModule ];
|
|
|
|
perSystem = _: {
|
|
treefmt = {
|
|
projectRootFile = ".git/config";
|
|
programs.nixfmt.enable = true;
|
|
programs.terraform.enable = true;
|
|
programs.hclfmt.enable = true;
|
|
programs.jsonfmt.enable = true;
|
|
programs.yamlfmt.enable = true;
|
|
programs.black.enable = true;
|
|
};
|
|
};
|
|
}
|