diff options
-rw-r--r-- | users/glittershark/system/home/modules/development.nix | 2 | ||||
-rw-r--r-- | users/glittershark/system/home/modules/development/rust.nix | 8 |
2 files changed, 8 insertions, 2 deletions
diff --git a/users/glittershark/system/home/modules/development.nix b/users/glittershark/system/home/modules/development.nix index 2df65145393b..9f8f49f94b6b 100644 --- a/users/glittershark/system/home/modules/development.nix +++ b/users/glittershark/system/home/modules/development.nix @@ -168,10 +168,8 @@ with lib; "grl" = "git reflog"; # Haskell - "cb" = "cabal build"; "crl" = "cabal repl"; "cr" = "cabal run"; - "ct" = "cabal run test"; "cnb" = "cabal new-build"; "cob" = "cabal old-build"; "cnr" = "cabal new-run"; diff --git a/users/glittershark/system/home/modules/development/rust.nix b/users/glittershark/system/home/modules/development/rust.nix index 17bda9c746dc..29eda82dc188 100644 --- a/users/glittershark/system/home/modules/development/rust.nix +++ b/users/glittershark/system/home/modules/development/rust.nix @@ -1,8 +1,16 @@ { config, lib, pkgs, ... }: + { home.packages = with pkgs; [ rustup rust-analyzer + cargo-edit ]; + + programs.zsh.shellAliases = { + "cg" = "cargo"; + "cb" = "cargo build"; + "ct" = "cargo test"; + }; } |