mirror of
https://github.com/kmein/niveum
synced 2026-03-21 20:31:07 +01:00
17 lines
459 B
Nix
17 lines
459 B
Nix
|
|
{
|
||
|
|
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
|
||
|
|
];
|
||
|
|
};
|
||
|
|
};
|
||
|
|
}
|