Skip to content

blocky ​

DNS proxy and ad-blocker for the local network

Example ​

nix
{
  nps.stacks.blocky = {
    enable = true;
    enableGrafanaDashboard = true;
    enablePrometheusExport = true;
  };
}

Stack Options ​

nps.stacks.blocky.enable ​

Whether to enable blocky.

Type
plaintext
boolean
Default
nix
false
Example
nix
true
Declaration

nps.stacks.blocky.enableGrafanaDashboard ​

Whether to enable Grafana Dashboard.

Type
plaintext
boolean
Default
nix
false
Example
nix
true
Declaration

nps.stacks.blocky.enablePrometheusExport ​

Whether to enable Prometheus Export.

Type
plaintext
boolean
Default
nix
false
Example
nix
true
Declaration

nps.stacks.blocky.settings ​

Blocky configuration. Will be converted to the config.yml. For a full list of options, refer to the Blocky documentation

By default, if Traefik is enabled, the module will automatically setup a DNS override pointing the Traefik domain (and all subdomains) to your host IP.

Type
plaintext
YAML 1.1 value
Default
nix
null
Declaration

Container Aliases ​

nps.stacks.blocky.containers.blocky ​

Alias of {option}services.podman.containers.blocky.

Type
plaintext
submodule
Declaration