add basic container, configure git repo structure, add sops addon
This commit is contained in:
17
hosts/home-morefine/initial-setup/sops.sh
Normal file
17
hosts/home-morefine/initial-setup/sops.sh
Normal file
@@ -0,0 +1,17 @@
|
||||
# age
|
||||
sudo apt install -y age
|
||||
|
||||
sudo mkdir -p /root/.config/sops/age
|
||||
sudo age-keygen -o /root/.config/sops/age/keys.txt
|
||||
sudo chmod 600 /root/.config/sops/age/keys.txt
|
||||
|
||||
# sops
|
||||
curl -LO https://github.com/getsops/sops/releases/download/v3.11.0/sops-v3.11.0.linux.amd64
|
||||
sudo install -m 0755 sops-v3.11.0.linux.amd64 /usr/local/bin/sops
|
||||
rm sops-v3.11.0.linux.amd64
|
||||
|
||||
# yq for yaml
|
||||
sudo wget -qO /usr/local/bin/yq \
|
||||
https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64
|
||||
|
||||
sudo chmod +x /usr/local/bin/yq
|
||||
Reference in New Issue
Block a user