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:
16
systems/zaatar/home-assistant.nix
Normal file
16
systems/zaatar/home-assistant.nix
Normal 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
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user