hass-declarative
Installation
SKILL.md
HA Declarative Entity Management
All HA automations, scenes, and scripts are defined in Nix under
modules/services/hass/_domains/. A post-deploy sweep service removes
anything not in the declared set.
Architecture
_lib.nix ← shared helpers (ensureEnabled)
_domains/ ← domain files (Nix modules)
ambient.nix ← lighting schedules, plant lights
aranet.nix ← CO2 monitoring
conversation.nix ← voice intents
lighting.nix ← adaptive lighting, AL sleep mode
modes.nix ← DND, guest mode, everything_off script
sleep/default.nix ← bedtime flow, wake detection, 8Sleep sync
tv.nix ← TV idle timer, sleep timer
vacation.nix ← presence-based vacation mode