rust: move rust dev dependencies into seperate home module
This commit is contained in:
parent
d95774a9f8
commit
0fc8015af5
3 changed files with 20 additions and 6 deletions
17
homeManagerModules/development/rust.nix
Normal file
17
homeManagerModules/development/rust.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
cargo
|
||||
rustc
|
||||
rustfmt
|
||||
];
|
||||
|
||||
programs.vscode.extensions =
|
||||
with pkgs.vscode-extensions;
|
||||
[
|
||||
rust-lang.rust-analyzer
|
||||
]
|
||||
++ (with pkgs.open-vsx; [
|
||||
tamasfe.even-better-toml
|
||||
]);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue