{ inputs, ... }:
{
  imports = [ inputs.treefmt-nix.flakeModule ];

  perSystem = _: {
    treefmt = {
      # https://flake.parts/options/treefmt-nix
      projectRootFile = ".git/config";
      programs.nixfmt.enable = true;
      programs.terraform.enable = true;
      programs.hclfmt.enable = true;
      programs.deno.enable = true;
      programs.yamlfmt.enable = true;
      programs.black.enable = true;
    };
  };
}