MyNixOS website logo
option

services.oink.domains

List of attribute sets containing configuration for each domain.

Each attribute set must have two attributes, one named domain and another named subdomain. The domain attribute must specify the root domain that you want to configure, and the subdomain attribute must specify its subdomain if any. If you want to configure the root domain rather than a subdomain, leave the subdomain attribute as an empty string.

Additionally, you can use attributes from services.oink.settings to override settings per-domain.

Every domain listed here must have API access enabled in Porkbun's control panel.

Declarations
Type
list of attribute set of anything
Default
[ ]
Example
[
  {
    domain = "nixos.org";
    subdomain = "";
    ttl = 1200;
  }
  {
    domain = "nixos.org";
    subdomain = "hydra";
  }
]