2024-03-09 01:44:41 +00:00
|
|
|
{
|
|
|
|
projectRootFile = "flake.nix";
|
|
|
|
|
|
|
|
### nix
|
|
|
|
programs.deadnix.enable = true;
|
|
|
|
programs.statix.enable = true;
|
|
|
|
programs.alejandra.enable = true;
|
|
|
|
|
|
|
|
### shell
|
|
|
|
programs.shfmt.enable = true;
|
2024-03-13 13:10:23 +00:00
|
|
|
settings.formatter.shfmt.options = ["-i" "2" "-sr"];
|
|
|
|
programs.shellcheck.enable = true;
|
|
|
|
settings.formatter.shellcheck.options = [
|
|
|
|
"-s"
|
|
|
|
"bash"
|
|
|
|
"-e"
|
|
|
|
"SC2016" # shfmt kept doing it, didn't find a toggle to turn it off
|
|
|
|
];
|
2024-03-09 01:44:41 +00:00
|
|
|
|
|
|
|
### toml
|
|
|
|
programs.taplo.enable = true;
|
|
|
|
|
|
|
|
### misc
|
|
|
|
programs.prettier.enable = true;
|
2024-07-03 11:19:37 +00:00
|
|
|
settings.formatter.prettier.excludes = [
|
|
|
|
"secrets.yaml"
|
|
|
|
"hosts/blacksteel/secrets.yaml"
|
|
|
|
"hosts/lightsail-tokyo/secrets.yaml"
|
|
|
|
];
|
2024-03-09 01:44:41 +00:00
|
|
|
}
|