27 lines
613 B
Nix
27 lines
613 B
Nix
{
|
|
virtualisation.arion = {
|
|
backend = "podman-socket";
|
|
projects.pihole = {
|
|
settings = {
|
|
services.pihole.service = {
|
|
ports = [
|
|
"53:53/tcp"
|
|
"53:53/udp"
|
|
"80:80/tcp"
|
|
];
|
|
container_name = "pihole";
|
|
image = "pihole/pihole:latest";
|
|
restart = "always";
|
|
volumes = [
|
|
"/srv/docker/pihole/etc-pihole:/etc/pihole"
|
|
"/srv/docker/pihole/etc-dnsmasq.d:/etc/dnsmasq.d"
|
|
];
|
|
environment = {
|
|
TZ = "Europe/London";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|