feat: moving package management into encrypted

This commit is contained in:
Matthew Ryan Dillon 2024-10-14 21:44:45 -04:00
parent 9e11acc2ca
commit 4b37136a70
5 changed files with 19 additions and 31 deletions

View file

@ -5,4 +5,5 @@
.ssh/id_rsa_personal
.ssh/id_rsa_work.pub
.ssh/id_rsa_personal.pub
work_paths.txt
work_paths
work_packages

View file

@ -73,7 +73,7 @@ check_paths=(
# homebrew
/opt/homebrew/bin
{{ join .chezmoi.sourceDir "encrypted_work_paths.txt" | include | decrypt -}}
{{ join .chezmoi.sourceDir "encrypted_work_paths.age" | include | decrypt -}}
)
for fp in $check_paths; do

View file

@ -0,0 +1,15 @@
-----BEGIN AGE ENCRYPTED FILE-----
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBRV1N4OElFeituUlRNSFcx
YVVYSTVvVGpFMGs5am8vZTlEcCtLUDBTeVgwClZVL2s3RFd6R25HdkVDWk8rbnpl
VnVKQ1B2NUw1WldvbFhBb3M0QVFMUUkKLS0tIFJuOWlBYmNRaXFHekRQeC9VeG5y
bTV6dTdlSWFMSzJRYTZSWGtHR2Z1TzQKqVwn7lrI5Y4fctHqvEwy8LLRXH3DLG4d
VCi3n8RJS3UsrgC+lGhqrgIdRNqSX0aldEbrntJ84yNIBRaJdeTO9nx9ml5bTp0R
h4Fqept6XUpGwMGijTwUMwofyjkhpEjcvomQfOVccG9ZdpUym/apAdJ0N9qlC5xs
UsgC5PCwmmGFXjyl7AvorXUzkGgQzjNolVo0acUaJEZ8p/zI286j6DSQFy3lv8nB
cHleiDEUCmMCc8MWfMmQZZQN8aAwW4qksU0eBhj6JtzwojZIsg5dxe0PCJg15XDn
pBNWvb49Jzec56eZN6a1fjzCW8sTxVIBlAZCM+eV5WaaK6+IlezKRfltEnYrL1RO
wzLW2Ni+DCtzDEIX6Bj2uGgXTn3li5Clju9ye9GQbCqU+EY9aoz5u9rrAFZ/So+b
Zc63ZkFuUVsh8UosgC8UluPNPheMqQb8fkdHzpynyKNRlLxBO8Xw4Ii0t9KfkKLL
AHc+rpBCLabk6eNG3M5zQFCZfoYgY2x8Go5ZDfI1KLjLWfL5m87dVVTcCGhAFYeZ
rfn+KPTuaR08bVbwV8Fq9a2+4GCczWLOy4SIwzASKQc/tMXPGRiC
-----END AGE ENCRYPTED FILE-----

View file

@ -52,33 +52,5 @@ sudo apt install \
{{ end }}
{{ if eq .hosttype "work" -}}
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
eval "$(/opt/homebrew/bin/brew shellenv)"
brew install \
bzip2 \
cmus \
curl \
direnv \
fzf \
git \
git-delta \
helix \
jj \
kitty \
libmemcached \
openssl@1.1 \
readline \
ripgrep \
snappy \
sqlite \
tmux \
tree \
watch \
wget \
xz \
zellij \
zk \
zlib \
zsh \
zstd
{{ join .chezmoi.sourceDir "encrypted_work_packages.age" | include | decrypt -}}
{{ end }}