mirror of
https://github.com/nmasur/dotfiles
synced 2026-10-29 16:35:02 +00:00
add rust programming tooling
This commit is contained in:
1 parent
77708aebd9
commit
f828c1c200
6 files changed
+41
-2
No files matched your search
@@ -6,6 +6,7 @@
|
||||
./lua.nix
|
||||
./nix.nix
|
||||
./python.nix
|
||||
./rust.nix
|
||||
./terraform.nix
|
||||
];
|
||||
|
||||
|
||||
@@ -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 = { };
|
||||
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user