nixos/home-assistant: add rpi_power component by default on arm

The rpi_power integration is part of the onboarding flow on Raspberry Pi
SBCs.
main
Martin Weinelt 2 years ago
parent 191fb818e6
commit 2f644fd3e6
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
  1. 4
      nixos/modules/services/home-automation/home-assistant.nix

@ -92,6 +92,10 @@ in {
"default_config"
"met"
"esphome"
] ++ optionals (pkgs.stdenv.hostPlatform.isAarch32 || pkgs.stdenv.hostPlatform.isAarch64) [
# Use the platform as an indicator that we might be running on a RaspberryPi and include
# relevant components
"rpi_power"
];
example = literalExpression ''
[

Loading…
Cancel
Save