mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-25 18:25:36 +00:00
89b5183f22
exclude terraform from nvim package by default
24 lines
482 B
Nix
24 lines
482 B
Nix
{ config, pkgs, lib, ... }: {
|
|
|
|
options.terraform.enable = lib.mkEnableOption "Terraform tools.";
|
|
|
|
config = lib.mkIf config.terraform.enable {
|
|
unfreePackages = [ "terraform" ];
|
|
|
|
home-manager.users.${config.user} = {
|
|
programs.fish.shellAbbrs = {
|
|
# Terraform
|
|
te = "terraform";
|
|
};
|
|
home.packages = with pkgs; [
|
|
terraform # Terraform executable
|
|
terraform-ls # Language server
|
|
tflint # Linter
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|