mirror of
https://github.com/traxys/Nixfiles.git
synced 2026-04-03 19:07:30 +02:00
Rework rust in root flake
This commit is contained in:
parent
f0f72891c8
commit
63f2d49edc
4 changed files with 199 additions and 125 deletions
|
|
@ -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
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue