mirror of
https://github.com/Nickiel12/nicks-nix-config.git
synced 2024-11-26 14:45:29 -08:00
24 lines
522 B
Nix
24 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";
|
||
|
};
|
||
|
};
|
||
|
|
||
|
};
|
||
|
}
|