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:
parent
191fb818e6
commit
2f644fd3e6
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue