Services are ready.

This commit is contained in:
Raphaël Numbus
2026-02-22 12:04:19 +01:00
parent 40265e8c81
commit 2e16ac3711
10 changed files with 335 additions and 267 deletions
+4 -3
View File
@@ -3,24 +3,25 @@
with lib;
let
piholeVersion = "2026.02.0";
helper = import ./lib.nix { inherit config pkgs lib; };
cfg = config.numbus.services.pi-hole;
in
helper.mkPodmanService {
name = "pi-hole";
description = "Pi-Hole, the ads black hole";
name = "pi-hole";
defaultPort = "4443";
pod = "false";
scheme = "https";
dependencies = [ "network.target" "multi-user.target" ];
dataDir = false;
delaySec = 10;
# Compose file good
composeText = ''
services:
pi-hole:
image: docker.io/pihole/pihole:latest
image: docker.io/pihole/pihole:${piholeVersion}
container_name: pi-hole
hostname: pi-hole
network_mode: pasta