1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-07 19:15:36 +03:00

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.
This commit is contained in:
Martin Weinelt 2022-01-30 18:07:25 +01:00
parent 191fb818e6
commit 2f644fd3e6
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -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 ''
[