initial commit. after fucking it up once

This commit is contained in:
Ittihadyya 2024-11-03 19:50:18 +02:00
commit b7cea98e99
48 changed files with 3437 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{
fructose.modules = [
(
{ config, ... }:
{
virtualisation.oci-containers = {
containers.pihole = {
image = "pihole/pihole:latest";
ports = [
"53:53/tcp"
"53:53/udp"
"800:80"
];
environmentFiles = [
"${config.sops.templates."pihole.env.secrets.yaml".path}"
];
environment = {
TZ = "Europe/Bucharest";
};
volumes = [
"/var/services/pihole/etc-pihole/:/etc/pihole/"
"/var/services/pihole/etc-dnsmasq.d/:/etc/dnsmasq.d/"
];
};
};
}
)
];
}