Rework rust in root flake

This commit is contained in:
Quentin Boyer 2022-07-17 11:46:23 +02:00
parent f0f72891c8
commit 63f2d49edc
4 changed files with 199 additions and 125 deletions

View file

@ -9,7 +9,14 @@
};
home.packages = with pkgs; [
rustup
pkgs.rust-bin.stable.latest.default
cargo-edit
];
home.file = {
".zfunc/_cargo".text = ''
#compdef cargo
source $(rustc --print sysroot)/share/zsh/site-functions/_cargo
'';
};
}