From f09a64650d7df155b5225c87488b5b308b931376 Mon Sep 17 00:00:00 2001 From: Matt Layher Date: Wed, 5 May 2021 15:04:31 -0400 Subject: [PATCH] nixos/servnerr-3: deploy home assistant container Signed-off-by: Matt Layher --- nixos/servnerr-3/containers.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/nixos/servnerr-3/containers.nix b/nixos/servnerr-3/containers.nix index d0dc599..4f0a4ab 100644 --- a/nixos/servnerr-3/containers.nix +++ b/nixos/servnerr-3/containers.nix @@ -43,6 +43,15 @@ virtualisation.oci-containers = { backend = "podman"; containers = { + home-assistant = { + image = "homeassistant/home-assistant:stable"; + ports = [ "8123:8123" ]; + volumes = [ + "/etc/localtime:/etc/localtime:ro" + "/var/lib/hass:/config" + ]; + }; + # promlens running on TCP/9091 adjacent to Prometheus. promlens = { image = "promlabs/promlens";