nixos-config/nixos/machines/pepe/hass.nix

17 lines
413 B
Nix
Raw Normal View History

2023-01-15 10:43:10 +01:00
{ config, lib, pkgs, ... }:
{
virtualisation.oci-containers = {
backend = "podman";
containers.homeassistant = {
volumes = [ "home-assistant:/config" ];
environment.TZ = "Europe/Berlin";
image = "ghcr.io/home-assistant/home-assistant:stable"; # Warning: if the tag does not change, the image will not be updated
extraOptions = [
"--network=host"
];
};
};
}