mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-06 21:20:13 +00:00
continuing dev
This commit is contained in:
@ -0,0 +1,30 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
cfg = config.nmasur.presets.programs.terraform;
|
||||
in
|
||||
{
|
||||
|
||||
options.nmasur.presets.programs.terraform.enable =
|
||||
lib.mkEnableOption "Terraform infrastructure management";
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
|
||||
unfreePackages = [ "terraform" ];
|
||||
|
||||
programs.fish.shellAbbrs = {
|
||||
te = "terraform";
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
terraform
|
||||
terraform-ls
|
||||
tflint
|
||||
];
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user