Services are ready.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user