added new feature, planning for firefish migration

This commit is contained in:
kity 2024-10-28 10:59:08 +01:00
parent a1a4943664
commit 1761c29ad5
2 changed files with 17 additions and 21 deletions

View file

@ -1,21 +0,0 @@
{ config, ... }:
{
sops.secrets.piholeHostname = {};
sops.secrets.piholePassword = {};
virtualisation.oci-containers = {
backend = "docker";
containers = {
pihole-exporter = {
image = "ekofr/pihole-exporter:latest";
ports = [ "9617:9617" ];
environment = {
"PIHOLE_HOSTNAME" = config.sops.secrets.piholeHostname;
"PIHOLE_PASSWORD" = config.sops.secrets.piholePassword;
};
};
};
};
}