mirror of
https://github.com/kmein/niveum
synced 2026-03-19 03:21:10 +01:00
feat(home-assistant): run in podman on zaatar
This commit is contained in:
@@ -13,6 +13,7 @@ in {
|
|||||||
./kiosk.nix
|
./kiosk.nix
|
||||||
./moodle-dl-meinhark.nix
|
./moodle-dl-meinhark.nix
|
||||||
./pulseaudio.nix
|
./pulseaudio.nix
|
||||||
|
./home-assistant.nix
|
||||||
./tuna.nix
|
./tuna.nix
|
||||||
./grocy.nix
|
./grocy.nix
|
||||||
./spotifyd.nix
|
./spotifyd.nix
|
||||||
|
|||||||
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