mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-08-08 22:50:19 +02:00
added new feature, planning for firefish migration
This commit is contained in:
parent
a1a4943664
commit
1761c29ad5
2 changed files with 17 additions and 21 deletions
|
@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue