Skip to content

muhlba91/homelab-home-assistant-configuration

Repository files navigation

Homelab: Home Assistant - Configuration

This repository contains Home Assistant configuration, and lifecycle scripts.


Configuration

The main configuration is located in configuration/configuration.yaml with secrets being stored in configuration/secrets.yaml.

Secrets Encryption

All secrets are encrypted with sops and Google Cloud KMS.

Lifecycle Scripts

The directory lifecycle contains all lifecycle scripts:

  • prepare.sh: installs all custom and www components defined in components/custom_components.txt and components/www_components.txt
  • sops.sh: encrypts or decrypts all necessary files (pass e for encryption, and d for decryption)
  • backup_restore.sh: checks if data exists and either backups or restores the configuration