flake/treefmt.nix

21 lines
434 B
Nix
Raw Normal View History

2024-03-09 01:44:41 +00:00
{
projectRootFile = "flake.nix";
2024-09-20 17:38:01 +00:00
programs = {
deadnix.enable = true;
nixfmt.enable = true;
prettier.enable = true;
statix.enable = true;
};
settings.formatter.nixfmt.options = [ "--strict" ];
2024-03-09 01:44:41 +00:00
2024-06-20 09:33:55 +00:00
settings.formatter.prettier.excludes = [
2024-08-31 00:00:40 +00:00
"hosts/pek0/secrets.yaml"
2024-08-12 06:30:33 +00:00
"hosts/tyo0/secrets.yaml"
2024-08-24 08:10:54 +00:00
"nixos/profiles/sing-box/secrets.yaml"
"nixos/profiles/wireless/secrets.yaml"
2024-07-09 23:12:02 +00:00
"secrets.yaml"
2024-06-20 09:33:55 +00:00
];
2024-03-09 01:44:41 +00:00
}