mirror of
https://github.com/Nickiel12/nicks-nix-config.git
synced 2024-11-22 20:59:32 -08:00
23 lines
522 B
Nix
23 lines
522 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
services.home-assistant = {
|
|
enable = true;
|
|
openFirewall = true;
|
|
|
|
# List extraComponents here to be installed. The names can be found here:
|
|
# https://github.com/NixOS/nixpkgs/blob/master/pkgs/servers/home-assistant/component-packages.nix
|
|
# Components listed here will be possible to add via the webUI if not
|
|
# automatically picked up.
|
|
extraComponents = [
|
|
"tasmota"
|
|
];
|
|
|
|
config = {
|
|
mqtt = {
|
|
broker = "0.0.0.0";
|
|
};
|
|
};
|
|
|
|
};
|
|
}
|