about summary refs log tree commit diff
path: root/users/glittershark
diff options
context:
space:
mode:
Diffstat (limited to 'users/glittershark')
-rw-r--r--users/glittershark/system/home/modules/development/rust.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/users/glittershark/system/home/modules/development/rust.nix b/users/glittershark/system/home/modules/development/rust.nix
index 29eda82dc188..ee10e9fcb451 100644
--- a/users/glittershark/system/home/modules/development/rust.nix
+++ b/users/glittershark/system/home/modules/development/rust.nix
@@ -6,6 +6,8 @@
     rustup
     rust-analyzer
     cargo-edit
+    cargo-expand
+    sccache
   ];
 
   programs.zsh.shellAliases = {
@@ -13,4 +15,9 @@
     "cb" = "cargo build";
     "ct" = "cargo test";
   };
+
+  home.file.".cargo/config".text = ''
+    [build]
+    rustc-wrapper = "${pkgs.sccache}/bin/sccache"
+  '';
 }