mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-08 19:45:42 +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:
parent
191fb818e6
commit
2f644fd3e6
1 changed files with 4 additions and 0 deletions
|
@ -92,6 +92,10 @@ in {
|
||||||
"default_config"
|
"default_config"
|
||||||
"met"
|
"met"
|
||||||
"esphome"
|
"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 ''
|
example = literalExpression ''
|
||||||
[
|
[
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue