refactor(modules): make sure nothing is added without setting enable

This commit is contained in:
matt1432 2025-01-04 19:02:30 -05:00
parent 4a2ad39114
commit 49dc072b81
56 changed files with 684 additions and 506 deletions
modules/esphome-plus

View file

@ -51,7 +51,7 @@ in {
};
};
config = mkIf (cfg.enable) {
config = mkIf cfg.enable {
# FIXME: https://github.com/NixOS/nixpkgs/issues/339557
systemd.services.esphome = {
environment.PLATFORMIO_CORE_DIR = mkForce "${stateDir}/.platformio";