flake/treefmt.nix

19 lines
408 B
Nix
Raw Normal View History

2024-03-09 01:44:41 +00:00
{
projectRootFile = "flake.nix";
### nix
programs.nixfmt.enable = true;
2024-03-09 01:44:41 +00:00
programs.deadnix.enable = true;
programs.statix.enable = true;
### misc
programs.prettier.enable = true;
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
}