Add some more formatters to treefmt, reformat repo

This commit is contained in:
Evie Litherland-Smith 2024-12-27 13:05:12 +00:00
parent 34319c95fe
commit cc57e16c87
5 changed files with 76 additions and 58 deletions

View file

@ -1,5 +1,23 @@
{ ... }:
{
projectRootFile = "flake.nix";
programs.nixfmt.enable = true;
programs = {
nixfmt.enable = true;
prettier.enable = true;
shfmt.enable = true;
};
settings.global.excludes = [
"*.png"
"*.jpg"
"*.gif"
"*.conf"
"*.toml"
"*.org"
"*.lisp"
"*.sty"
"Makefile"
"system/kanata.kbd"
"system/home/email/davmail.properties"
"system/home/email/signatures/*"
];
}