diff --git a/modules/pihole-container.factory.nix b/modules/pihole-container.factory.nix index dfa3d4c..0423d03 100644 --- a/modules/pihole-container.factory.nix +++ b/modules/pihole-container.factory.nix @@ -95,6 +95,17 @@ in rec { envVar = "TZ"; }; + interface = mkContainerEnvOption { + type = types.str; + description = '' + Set the interface of the pihole container on which it should respond to DNS requests. + + Note: Configuring "Allow only local requests" is currently not supported by the pihole image at startup but can be done later through the web interface. + ''; + default = "tap0"; + envVar = "INTERFACE"; + }; + web = { password = mkContainerEnvOption { type = with types; nullOr str;