From 3289696f4f3531557ba382d741b5cc00a7f324fc Mon Sep 17 00:00:00 2001 From: Florian Beisel Date: Fri, 31 May 2024 18:33:47 +0200 Subject: [PATCH] Add .chezmoi.toml Add .chezmoidata/packages.yaml Add install_macos_packages.sh --- .chezmoi.toml.tmpl | 3 + .chezmoidata/packages.yaml | 69 +++++++++++++++++++++ run_onchange_install_macos_packages.sh.tmpl | 12 ++++ 3 files changed, 84 insertions(+) create mode 100644 .chezmoi.toml.tmpl create mode 100644 .chezmoidata/packages.yaml create mode 100644 run_onchange_install_macos_packages.sh.tmpl diff --git a/.chezmoi.toml.tmpl b/.chezmoi.toml.tmpl new file mode 100644 index 0000000..458d1d5 --- /dev/null +++ b/.chezmoi.toml.tmpl @@ -0,0 +1,3 @@ +[git] + autoCommit = true + autoPush = true diff --git a/.chezmoidata/packages.yaml b/.chezmoidata/packages.yaml new file mode 100644 index 0000000..7102123 --- /dev/null +++ b/.chezmoidata/packages.yaml @@ -0,0 +1,69 @@ +packages: + darwin: + brews: + - abseil + - asdf + - autoconf + - autojump + - automake + - awscli + - bitwarden-cli + - brotli + - c-ares + - ca-certificates + - chezmoi + - coreutils + - gettext + - gmp + - icu4c + - jq + - jsoncpp + - liblinear + - libnghttp2 + - libssh2 + - libtool + - libuv + - libvterm + - libyaml + - lpeg + - lua + - luajit + - luv + - m4 + - mactop + - mosh + - mpdecimal + - msgpack + - neofetch + - neovim + - nmap + - node + - oniguruma + - openssl@3 + - pcre2 + - primer3 + - protobuf + - pulumi + - python-setuptools + - python@3.11 + - python@3.12 + - readline + - screenresolution + - sqlite + - thefuck + - tree + - tree-sitter + - typescript + - unibilium + - unixodbc + - xz + - zsh-autocomplete + casks: + - alacritty + - bitwarden + - crystalfetch + - divvy + - docker + - keepingyouawake + - loop + - utm diff --git a/run_onchange_install_macos_packages.sh.tmpl b/run_onchange_install_macos_packages.sh.tmpl new file mode 100644 index 0000000..b4bc437 --- /dev/null +++ b/run_onchange_install_macos_packages.sh.tmpl @@ -0,0 +1,12 @@ +{{ if eq .chezmoi.os "darwin" -}} +#!/bin/bash + +brew bundle --no-lock --file=/dev/stdin <