created home_assistant.nix for jeeves

This commit is contained in:
2024-09-19 20:15:50 -04:00
parent ff2f07739e
commit d9c3f36341
3 changed files with 59 additions and 0 deletions

View File

@@ -3,6 +3,7 @@
"aboutwelcome", "aboutwelcome",
"acltype", "acltype",
"ahci", "ahci",
"aioesphomeapi",
"alsa", "alsa",
"archlinux", "archlinux",
"ashift", "ashift",
@@ -49,6 +50,7 @@
"endlessh", "endlessh",
"errorlens", "errorlens",
"esbenp", "esbenp",
"esphome",
"extest", "extest",
"fastforwardteam", "fastforwardteam",
"FASTFOX", "FASTFOX",
@@ -68,12 +70,14 @@
"ghdeploy", "ghdeploy",
"globalprivacycontrol", "globalprivacycontrol",
"gparted", "gparted",
"gtts",
"healthreport", "healthreport",
"Heatsink", "Heatsink",
"hediet", "hediet",
"hexeditor", "hexeditor",
"hicolor", "hicolor",
"hmac", "hmac",
"homeassistant",
"HPKP", "HPKP",
"htmlaboutaddons", "htmlaboutaddons",
"hurlenko", "hurlenko",
@@ -81,6 +85,7 @@
"INITDB", "INITDB",
"iocharset", "iocharset",
"iperf", "iperf",
"isal",
"jnoortheen", "jnoortheen",
"jsbc", "jsbc",
"kuma", "kuma",
@@ -146,10 +151,12 @@
"prowlarr", "prowlarr",
"proxychains", "proxychains",
"prusa", "prusa",
"psycopg",
"PUID", "PUID",
"pulseaudio", "pulseaudio",
"punycode", "punycode",
"pylance", "pylance",
"pymetno",
"qbit", "qbit",
"qbittorrent", "qbittorrent",
"qbittorrentvpn", "qbittorrentvpn",
@@ -182,6 +189,7 @@
"sonarr", "sonarr",
"sponsorblock", "sponsorblock",
"sqltools", "sqltools",
"ssdp",
"stdenv", "stdenv",
"subresource", "subresource",
"substituters", "substituters",
@@ -220,6 +228,7 @@
"yubikey", "yubikey",
"yubioath", "yubioath",
"yzhang", "yzhang",
"zeroconf",
"zerotier", "zerotier",
"zerotierone", "zerotierone",
"zoxide", "zoxide",

View File

@@ -13,6 +13,7 @@ in
./arch_mirror.nix ./arch_mirror.nix
./docker ./docker
./hardware.nix ./hardware.nix
./home_assistant.nix
./networking.nix ./networking.nix
./programs.nix ./programs.nix
./services.nix ./services.nix

View File

@@ -0,0 +1,49 @@
{
services.home-assistant = {
enable = true;
openFirewall = true;
config = {
http = {
server_port = 8123;
server_host = [
"192.168.95.14"
"192.168.90.40"
"192.168.98.4"
];
use_x_forwarded_for = true;
trusted_proxies = "172.100.0.4";
};
homeassistant = {
time_zone = "America/New_York";
unit_system = "imperial";
temperature_unit = "F";
};
assist_pipeline = { };
backup = { };
bluetooth = { };
config = { };
dhcp = { };
energy = { };
history = { };
homeassistant_alerts = { };
image_upload = { };
logbook = { };
media_source = { };
mobile_app = { };
ssdp = { };
sun = { };
webhook = { };
zeroconf = { };
};
extraPackages =
python3Packages: with python3Packages; [
psycopg2
gtts
aioesphomeapi
esphome-dashboard-api
bleak-esphome
pymetno
];
extraComponents = [ "isal" ];
};
}