cargo-config
This commit is contained in:
parent
ff087f5b2d
commit
06a5c10816
5
config/cargo-config
Normal file
5
config/cargo-config
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
[source.crates-io]
|
||||||
|
registry = "https://github.com/rust-lang/crates.io-index"
|
||||||
|
replace-with = 'ustc'
|
||||||
|
[source.ustc]
|
||||||
|
registry = "git://mirrors.ustc.edu.cn/crates.io-index"
|
7
home.nix
7
home.nix
@ -34,14 +34,15 @@
|
|||||||
proxychains-ng
|
proxychains-ng
|
||||||
less
|
less
|
||||||
openssh
|
openssh
|
||||||
wget
|
|
||||||
curl
|
|
||||||
rnix-lsp.rnix-lsp
|
rnix-lsp.rnix-lsp
|
||||||
|
qemu
|
||||||
];
|
];
|
||||||
|
|
||||||
# Home Manager is pretty good at managing dotfiles. The primary way to manage
|
# Home Manager is pretty good at managing dotfiles. The primary way to manage
|
||||||
# plain files is through 'home.file'.
|
# plain files is through 'home.file'.
|
||||||
home.file = {};
|
home.file = {
|
||||||
|
".cargo/config".source = ./config/cargo-config;
|
||||||
|
};
|
||||||
|
|
||||||
# You can also manage environment variables but you will have to manually
|
# You can also manage environment variables but you will have to manually
|
||||||
# source
|
# source
|
||||||
|
Reference in New Issue
Block a user