dfhack-files/nix/formatter.nix

14 lines
295 B
Nix
Raw Permalink Normal View History

2024-11-15 15:15:35 +01:00
{ inputs, ... }:
{
imports = [ inputs.treefmt-nix.flakeModule ];
perSystem = _: {
treefmt = {
# https://flake.parts/options/treefmt-nix < for all options
projectRootFile = ".git/config";
programs.nixfmt.enable = true;
programs.biome.enable = true;
};
};
}