Skip to content

Commit e353f98

Browse files
committed
feat(opi5): hass
1 parent 120f8df commit e353f98

1 file changed

Lines changed: 41 additions & 0 deletions

File tree

nixos/machines/opi5/configuration.nix

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,47 @@
233233
enable = true;
234234
};
235235

236+
services.home-assistant = {
237+
enable = true;
238+
openFirewall = true;
239+
extraComponents = [
240+
# Components required to complete the onboarding
241+
"analytics"
242+
"google_translate"
243+
"met"
244+
"radio_browser"
245+
"shopping_list"
246+
# Recommended for fast zlib compression
247+
# https://www.home-assistant.io/integrations/isal
248+
"isal"
249+
250+
"bthome"
251+
"esphome"
252+
"mqtt"
253+
"mqtt_eventstream"
254+
"mqtt_json"
255+
"mqtt_room"
256+
"mqtt_statestream"
257+
"ping"
258+
"qbittorrent"
259+
"tasmota"
260+
"upnp"
261+
# "waqi"
262+
"xiaomi_ble"
263+
264+
"ffmpeg"
265+
"zeroconf"
266+
];
267+
config = {
268+
# Includes dependencies for a basic setup
269+
# https://www.home-assistant.io/integrations/default_config/
270+
default_config = { };
271+
"automation ui" = "!include automations.yaml";
272+
"scene ui" = "!include scenes.yaml";
273+
"script ui" = "!include scripts.yaml";
274+
};
275+
};
276+
236277
services.mosquitto = {
237278
enable = true;
238279
listeners = [

0 commit comments

Comments
 (0)