diff --git a/hosts/macbook/default.nix b/hosts/macbook/default.nix index afad8c0..8ef9db2 100644 --- a/hosts/macbook/default.nix +++ b/hosts/macbook/default.nix @@ -17,5 +17,7 @@ darwin.lib.darwinSystem { ../../modules/darwin ../../modules/applications/alacritty.nix ../../modules/applications/discord.nix + ../../modules/programming/terraform.nix + ../../modules/programming/lua.nix ]; } diff --git a/modules/programming/lua.nix b/modules/programming/lua.nix new file mode 100644 index 0000000..dd4317c --- /dev/null +++ b/modules/programming/lua.nix @@ -0,0 +1,8 @@ +{ config, pkgs, ... }: { + + home-manager.users.${config.user}.home.packages = with pkgs; + [ + stylua # Lua formatter + ]; + +} diff --git a/modules/programming/terraform.nix b/modules/programming/terraform.nix new file mode 100644 index 0000000..2f3be3c --- /dev/null +++ b/modules/programming/terraform.nix @@ -0,0 +1,9 @@ +{ config, pkgs, ... }: { + + home-manager.users.${config.user}.home.packages = with pkgs; [ + terraform # Terraform executable + terraform-ls # Language server + tflint # Linter + ]; + +}