nixos/treefmt.nix

24 lines
399 B
Nix
Raw Normal View History

{ ... }:
{
projectRootFile = "flake.nix";
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/*"
];
}