This repository contains Home Assistant configuration, and lifecycle scripts.
The main configuration is located in configuration/configuration.yaml
with secrets being stored in configuration/secrets.yaml
.
All secrets are encrypted with sops and Google Cloud KMS.
The directory lifecycle
contains all lifecycle scripts:
prepare.sh
: installs all custom and www components defined incomponents/custom_components.txt
andcomponents/www_components.txt
sops.sh
: encrypts or decrypts all necessary files (passe
for encryption, andd
for decryption)backup_restore.sh
: checks if data exists and either backups or restores the configuration