update
This commit is contained in:
parent
a18e244ba5
commit
05a9d96d4e
26 changed files with 861 additions and 182 deletions
66
server/home-assistant/default.nix
Normal file
66
server/home-assistant/default.nix
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
{ lib, config, ... }:
|
||||
{
|
||||
options.server.home-assistant.enable = lib.mkEnableOption "Enable home-assistant";
|
||||
|
||||
config = lib.mkIf config.server.home-assistant.enable {
|
||||
networking.firewall.allowedTCPPorts = [
|
||||
8123
|
||||
5683
|
||||
];
|
||||
|
||||
imports = [
|
||||
./zones.nix
|
||||
./wyoming.nix
|
||||
./mosquitto.nix
|
||||
./bathroom.nix
|
||||
./lights.nix
|
||||
./heating.nix
|
||||
];
|
||||
|
||||
services.home-assistant = {
|
||||
enable = true;
|
||||
|
||||
extraComponents = [
|
||||
"pushover"
|
||||
"isal"
|
||||
"nina"
|
||||
"jellyfin"
|
||||
"deluge"
|
||||
"conversation"
|
||||
|
||||
"ollama"
|
||||
"anthropic"
|
||||
|
||||
"mqtt"
|
||||
|
||||
"shelly"
|
||||
"tasmota"
|
||||
|
||||
"wyoming"
|
||||
"whisper"
|
||||
"piper"
|
||||
|
||||
"open_meteo"
|
||||
|
||||
"wake_on_lan"
|
||||
"bluetooth"
|
||||
"bthome"
|
||||
"fritz"
|
||||
];
|
||||
|
||||
config = {
|
||||
default_config = { };
|
||||
|
||||
# anthropic = {
|
||||
# intents = [
|
||||
# "HassTurnOn"
|
||||
# "HassTurnOff"
|
||||
# "HassGetWeather"
|
||||
# ];
|
||||
# };
|
||||
|
||||
intent = { };
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue