switched to home-assistant

This commit is contained in:
Nickiel12 2024-08-18 17:30:11 -07:00
parent fbfd85d5ca
commit 298c851efc
3 changed files with 24 additions and 16 deletions

View file

@ -9,10 +9,10 @@
./configuration.nix ./configuration.nix
./hardware-configuration.nix ./hardware-configuration.nix
./modules/dnsmasq.nix ./modules/dnsmasq.nix
./modules/domoticz.nix
./modules/firewall.nix ./modules/firewall.nix
./modules/forgejo.nix ./modules/forgejo.nix
./modules/headscale.nix ./modules/headscale.nix
./modules/home-assistant.nix
./modules/msmtp.nix ./modules/msmtp.nix
./modules/mosquitto.nix ./modules/mosquitto.nix
./modules/nginx.nix ./modules/nginx.nix

View file

@ -1,15 +0,0 @@
{ config, lib, pkgs, ... }:
{
services.domoticz = {
enable = true;
port = 8981;
bind = "0.0.0.0";
};
networking.firewall = {
allowedTCPPorts = [8981];
allowedUDPPorts = [8981];
};
}

View file

@ -0,0 +1,23 @@
{ 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";
};
};
};
}