2024-03-09 09:44:41 +08:00
|
|
|
{
|
|
|
|
projectRootFile = "flake.nix";
|
|
|
|
|
2024-09-21 01:38:01 +08:00
|
|
|
programs = {
|
|
|
|
deadnix.enable = true;
|
2024-09-22 16:31:40 +08:00
|
|
|
just.enable = true;
|
2024-09-21 01:38:01 +08:00
|
|
|
nixfmt.enable = true;
|
|
|
|
prettier.enable = true;
|
|
|
|
statix.enable = true;
|
2024-09-22 00:21:30 +08:00
|
|
|
terraform.enable = true;
|
2024-09-21 01:38:01 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
settings.formatter.nixfmt.options = [ "--strict" ];
|
2024-03-09 09:44:41 +08:00
|
|
|
|
2024-09-22 16:31:40 +08:00
|
|
|
settings.formatter.just.includes = [ "infra/justfile" ];
|
|
|
|
|
2024-06-20 17:33:55 +08:00
|
|
|
settings.formatter.prettier.excludes = [
|
2024-09-22 04:19:03 +08:00
|
|
|
"**/secrets.yaml"
|
2024-09-22 00:21:30 +08:00
|
|
|
"infra/data.json"
|
2024-09-22 16:31:40 +08:00
|
|
|
"secrets.yaml"
|
2024-06-20 17:33:55 +08:00
|
|
|
];
|
2024-03-09 09:44:41 +08:00
|
|
|
}
|