From d1e0abf4c53db12a6726d35ef381881465222571 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Mon, 30 Dec 2024 10:33:03 +0000 Subject: [PATCH] Change the pihole mount directories Whilst doing this to /mnt/media, the adlist was showing as -2 and saying that DNS resolution was not possible. This was preventing any ads from being blocked. Moving this to a local directory seems to fix the issue and I'll investigate further at a later date. --- nix/modules/nixos/features/homelab/pi-hole.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nix/modules/nixos/features/homelab/pi-hole.nix b/nix/modules/nixos/features/homelab/pi-hole.nix index cce9039..d8cc070 100644 --- a/nix/modules/nixos/features/homelab/pi-hole.nix +++ b/nix/modules/nixos/features/homelab/pi-hole.nix @@ -31,8 +31,8 @@ in }; volumes = [ - "/mnt/media/pihole/etc-dnsmasq.d:/etc/dnsmasq.d:rw" - "/mnt/media/pihole/etc-pihole:/etc/pihole:rw" + "/home/opdavies/pihole/etc-dnsmasq.d:/etc/dnsmasq.d:rw" + "/home/opdavies/pihole/etc-pihole:/etc/pihole:rw" ]; ports = [