mirror of
https://github.com/nmasur/dotfiles
synced 2024-09-20 07:04:46 +00:00
18 lines
296 B
Nix
18 lines
296 B
Nix
|
{ 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 = { };
|
||
|
|
||
|
};
|
||
|
|
||
|
};
|
||
|
|
||
|
}
|