Add .chezmoi.toml

Add .chezmoidata/packages.yaml
Add install_macos_packages.sh
This commit is contained in:
Florian Beisel 2024-05-31 18:33:47 +02:00
parent 8986bc3d55
commit 3289696f4f
3 changed files with 84 additions and 0 deletions

3
.chezmoi.toml.tmpl Normal file
View File

@ -0,0 +1,3 @@
[git]
autoCommit = true
autoPush = true

View File

@ -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

View File

@ -0,0 +1,12 @@
{{ if eq .chezmoi.os "darwin" -}}
#!/bin/bash
brew bundle --no-lock --file=/dev/stdin <<EOF
{{ range .packages.darwin.brews -}}
brew {{ . | quote }}
{{ end -}}
{{ range .packages.darwin.casks -}}
cask {{ . | quote }}
{{ end -}}
EOF
{{ end -}}