1
0
Fork 0
mirror of https://github.com/mdlayher/homelab.git synced 2024-12-14 11:47:32 +00:00

nixos/servnerr-3: deploy home assistant container

Signed-off-by: Matt Layher <mdlayher@gmail.com>
This commit is contained in:
Matt Layher 2021-05-05 15:04:31 -04:00
parent 97931423a3
commit f09a64650d
No known key found for this signature in database
GPG key ID: 77BFE531397EDE94

View file

@ -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";