
node[:packages][:apps].each do |pkg|
    package pkg
end

node[:packages][:dev].each do |pkg|
    package pkg
end

node[:casks][:apps].each do |app|
    homebrew_cask app
end

node[:casks][:dev].each do |app|
    homebrew_cask app
end

node[:casks][:work].each do |app|
    homebrew_cask app
end

node[:vscode][:extensions].each do |ext|
    bash "install" do
        cwd '/tmp'
        code <<-EOH
            echo #{ext}
            code --install-extension #{ext}
            EOH
    end
end

# template 'Users/hugoparedes/.zshrc' do
#     source 'zshrc.erb'
#     owner 'hugoparedes'
#     mode '0644'
# end
