add rust programming tooling

This commit is contained in:
Noah Masur
2023-11-01 22:13:49 -04:00
parent 77708aebd9
commit f828c1c200
6 changed files with 41 additions and 2 deletions

View File

@ -6,6 +6,7 @@
./lua.nix
./nix.nix
./python.nix
./rust.nix
./terraform.nix
];

View File

@ -0,0 +1,17 @@
{ config, pkgs, lib, ... }: {
options.rust.enable = lib.mkEnableOption "Rust programming language.";
config = lib.mkIf config.rust.enable {
home-manager.users.${config.user} = {
home.packages = with pkgs; [ cargo rustc ];
programs.fish.shellAbbrs = { };
};
};
}