dotfiles/nixos/boxes/bolty/home-assistant.nix

15 lines
431 B
Nix
Raw Normal View History

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