From e72533b15c4e6826ff6e8dfe9dcf8db6a017cfb2 Mon Sep 17 00:00:00 2001 From: Ahurac Date: Thu, 14 Nov 2024 13:52:29 +0100 Subject: [PATCH] feat(home): rust developpement --- common/home.nix | 7 +++++++ 1 file changed, 7 insertions(+) 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"; + } ]; };