From 81f9cb6cf90ceab1de513d704b8f7080e0df10ec Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sun, 24 Nov 2024 14:14:18 -0700 Subject: [PATCH] [NixOS] Add home-assistant config --- nixos/machines/justin-bieber-creek.nix | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/nixos/machines/justin-bieber-creek.nix b/nixos/machines/justin-bieber-creek.nix index 07eb2f9c..353ea17b 100644 --- a/nixos/machines/justin-bieber-creek.nix +++ b/nixos/machines/justin-bieber-creek.nix @@ -8,7 +8,20 @@ myModules.fonts.enable = true; myModules.base.enable = true; myModules.desktop.enable = true; - services.home-assistant.enable = true; + services.home-assistant = { + enable = true; + config = { + homeassistant = { + name = "Home"; + latitude = "39.631431415930564"; + longitude = "-106.52015264624013"; + elevation = "7400'"; + unit_system = "imperial"; + time_zone = "UTC"; + }; + feedreader.urls = [ "https://nixos.org/blogs.xml" ]; + }; + }; boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ]; boot.initrd.kernelModules = [ ];