diff --git a/configs/home.nogui.nix b/configs/home.nogui.nix index a478ad3..e9fe1ce 100644 --- a/configs/home.nogui.nix +++ b/configs/home.nogui.nix @@ -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; diff --git a/configs/programs/cargo.toml b/configs/programs/cargo.toml new file mode 100644 index 0000000..d5135e9 --- /dev/null +++ b/configs/programs/cargo.toml @@ -0,0 +1,2 @@ +[build] +rustflags = ["-C", "target-cpu=native"] \ No newline at end of file