27 lines
390 B
Nix
27 lines
390 B
Nix
{ ... }:
|
|
{
|
|
projectRootFile = "flake.nix";
|
|
|
|
programs = {
|
|
nixfmt = {
|
|
enable = true;
|
|
strict = true;
|
|
};
|
|
|
|
shellcheck.enable = true;
|
|
prettier.enable = true;
|
|
gofmt.enable = true;
|
|
};
|
|
|
|
settings.global.excludes = [
|
|
# Git
|
|
"*/.gitignore"
|
|
".gitattributes"
|
|
".envrc"
|
|
# Manifest Files
|
|
"*/package.json"
|
|
"*/go.mod"
|
|
"*/bun.lockb"
|
|
];
|
|
}
|