1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

feat(home-assistant): run in podman on zaatar

This commit is contained in:
2022-03-10 22:59:43 +01:00
parent de6d91297b
commit ab3de7a042
2 changed files with 17 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
{
networking.firewall.allowedTCPPorts = [8123];
virtualisation.oci-containers = {
backend = "podman";
containers.homeassistant = {
volumes = ["home-assistant:/config"];
environment.TZ = "Europe/Berlin";
image = "ghcr.io/home-assistant/home-assistant:stable";
extraOptions = [
"--network=host"
# "--device=/dev/ttyUSB0:/dev/ttyACM0" # Example, change this to match your own hardware
];
};
};
}