1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
{ inputs, ... }: { imports = [ inputs.treefmt-nix.flakeModule ]; perSystem = { treefmt = { projectRootFile = ".git/config"; # TODO: add actionlint # https://github.com/numtide/treefmt-nix/pull/146 programs = { deadnix.enable = true; just.enable = true; nixfmt-rfc-style.enable = true; statix.enable = true; }; }; }; }