From 808704a8680a8ac363c08cb93f8d3c240f665d7d Mon Sep 17 00:00:00 2001 From: Aaron Honeycutt Date: Fri, 16 Feb 2024 03:46:59 +0000 Subject: [PATCH] Add new file --- software/home-assistant/home-assistant.nix | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 software/home-assistant/home-assistant.nix diff --git a/software/home-assistant/home-assistant.nix b/software/home-assistant/home-assistant.nix new file mode 100644 index 0000000..3ea5224 --- /dev/null +++ b/software/home-assistant/home-assistant.nix @@ -0,0 +1,26 @@ + config, pkgs, lib, ... }: + +{ + services.home-assistant = { + enable = true; + extraComponents = [ + "cast" + "esphome" + "google_translate" + "met" + "nest" + "radio_browser" + ]; + config = { + # Includes dependencies for a basic setup + # https://www.home-assistant.io/integrations/default_config/ + default_config = {}; + homeassistant = { + unit_system = "imperial"; + temperature_unit = "F"; + time_zone = "America/Denver"; + }; + feedreader.urls = [ "https://nixos.org/blogs.xml" ]; + }; + }; +}