From fa9bf1f0f8c78866bf6a9ac2a0d5d39e8ecc9cc2 Mon Sep 17 00:00:00 2001 From: Vinzenz Schroeter Date: Tue, 31 Oct 2023 14:43:19 +0100 Subject: [PATCH] more rust stuff --- modules/users/vinzenz-home.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/modules/users/vinzenz-home.nix b/modules/users/vinzenz-home.nix index 08950bd..bc8019b 100644 --- a/modules/users/vinzenz-home.nix +++ b/modules/users/vinzenz-home.nix @@ -25,7 +25,13 @@ kdiff3 docker youtube-music - rustup + + cargo + rustc + gcc + rustfmt + clippy + cargo-generate ]; programs = { @@ -97,6 +103,7 @@ pkief.material-icon-theme mhutchie.git-graph rust-lang.rust-analyzer + bungcip.better-toml ]; userSettings = { "git.autofetch" = true; @@ -115,6 +122,7 @@ "workbench.startupEditor" = "readme"; "workbench.enableExperiments" = false; "workbench.iconTheme" = "material-icon-theme"; + "rust-analyzer.checkOnSave.command" = "clippy"; }; };