15 lines
311 B
Nix
15 lines
311 B
Nix
{ rust-toolchain }:
|
|
{ pkgs, ... }:
|
|
{
|
|
# Used to find the project root
|
|
projectRootFile = "flake.nix";
|
|
# Enable the terraform formatter
|
|
programs = {
|
|
nixfmt.enable = true;
|
|
rustfmt.enable = true;
|
|
rustfmt.package = rust-toolchain pkgs;
|
|
leptosfmt.enable = true;
|
|
taplo.enable = true;
|
|
};
|
|
}
|