mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-29 19:30:11 +00:00
Pihole's dashboard is a web app which visualises statistics from pihole-FTL
(i.e. dnsmasq), shows query logs, and allows configuration.
With this module, configuration is largely declarative and immutable, so
settings can't be changed, but they can be viewed from the webpage.
The admin page also allows regenerating the DNS ("gravity") database.
20 lines
547 B
Markdown
20 lines
547 B
Markdown
# Pi-hole Web Dashboard {#module-services-web-apps-pihole-web}
|
|
|
|
The Pi-hole suite provides a web GUI for controlling and monitoring
|
|
[pihole-FTL](index.html#module-services-networking-pihole-ftl).
|
|
|
|
## Configuration {#module-services-web-apps-pihole-web-configuration}
|
|
|
|
Example configuration:
|
|
|
|
```nix
|
|
{
|
|
services.pihole-web = {
|
|
enable = true;
|
|
ports = [ 80 ];
|
|
};
|
|
}
|
|
```
|
|
|
|
The dashboard can be configured using [{option}`services.pihole-ftl.settings`](options.html#opt-services.pihole-ftl.settings), in particular the `webserver` subsection.
|