services.powerdns-admin.config
NixOS option
Configuration python file. See the example configuration for options. Also see Flask Session configuration as the version shipped with NixOS is more recent than the one PowerDNS-Admin expects and it requires explicit configuration.
type: stringDefault
""
Example
declared in: nixos/modules/services/web-apps/powerdns-admin.nixView source on NixOS/nixpkgs →'' import cachelib BIND_ADDRESS = '127.0.0.1' PORT = 8000 SQLALCHEMY_DATABASE_URI = 'postgresql://powerdnsadmin@/powerdnsadmin?host=/run/postgresql' SESSION_TYPE = 'cachelib' SESSION_CACHELIB = cachelib.simple.SimpleCache() ''