Install rust directly rather than per-project
diff --git a/modules/rust.nix b/modules/rust.nix
index 71339fa..c9c55f6 100644
--- a/modules/rust.nix
+++ b/modules/rust.nix
@@ -1,5 +1,10 @@
-{username, ...}: {
- # Rust should be installed via direnv *not* here, however we still need to persist the cache
- # as we don't want installing crates to be slower than it has to be
+{username, pkgs, ...}: {
+ home.home.packages = with pkgs; [
+ cargo
+ clippy
+ rustc
+ rustfmt
+ bacon
+ ];
config.environment.persistence."/nix/persist".users.${username}.directories = [".cargo"];
}