1
0
Fork 0
dotfiles/container/deye/default.nix

13 lines
325 B
Nix
Raw Permalink Normal View History

2024-07-14 14:02:19 +00:00
{ config, ... }:
{
virtualisation.oci-containers.containers.deye-mqtt = {
image = "ghcr.io/kbialek/deye-inverter-mqtt:2024.07.1";
environmentFiles = [ config.age.secrets.deye-mqtt-config.path ];
};
systemd.services.podman-deye-mqtt.restartTriggers = [
"${config.age.secrets.deye-mqtt-config.file}"
];
}