Configure cargo
This commit is contained in:
parent
4a2201069c
commit
8a41ab75ae
|
@ -111,6 +111,10 @@
|
|||
text = builtins.concatStringsSep "\n" (import programs/ssh/authorizedKeys.nix);
|
||||
target = ".ssh/authorized_keys";
|
||||
};
|
||||
home.file.cargoConfig = {
|
||||
source = programs/cargo.toml;
|
||||
target = ".cargo/config";
|
||||
};
|
||||
|
||||
services.gpg-agent = {
|
||||
enable = true;
|
||||
|
|
2
configs/programs/cargo.toml
Normal file
2
configs/programs/cargo.toml
Normal file
|
@ -0,0 +1,2 @@
|
|||
[build]
|
||||
rustflags = ["-C", "target-cpu=native"]
|
Loading…
Reference in a new issue