diff --git a/common/home.nix b/common/home.nix index 5927e92..f709289 100644 --- a/common/home.nix +++ b/common/home.nix @@ -9,6 +9,8 @@ home.packages = with pkgs; [ clang-tools d2 + rust-analyzer + cargo tinymist typst ipcalc @@ -116,6 +118,11 @@ auto-format = true; formatter.command = "${pkgs.google-java-format}/bin/google-java-format"; } + { + name = "rust"; + auto-format = true; + formatter.command = "${pkgs.rustfmt}/bin/rustfmt"; + } ]; };