Hevana: Add Oink for Porkbun dynamic DNS
This commit is contained in:
parent
3be69d1a7c
commit
57b3a351fe
|
@ -40,6 +40,33 @@ in
|
|||
# To see all available timezones, run `timedatectl list-timezones`.
|
||||
time.timeZone = "America/New_York";
|
||||
|
||||
# Enable dynamic DNS with Porkbun
|
||||
services.oink = {
|
||||
enable = true;
|
||||
settings = {
|
||||
apiKey = config.secrets.networking.porkbun.api.apiKey;
|
||||
secretApiKey = config.secrets.networking.porkbun.api.secretKey;
|
||||
};
|
||||
domains = [
|
||||
{
|
||||
domain = config.secrets.networking.domains.blog;
|
||||
subdomain = "";
|
||||
}
|
||||
{
|
||||
domain = config.secrets.networking.domains.blog;
|
||||
subdomain = "*";
|
||||
}
|
||||
{
|
||||
domain = config.secrets.networking.domains.primary;
|
||||
subdomain = "";
|
||||
}
|
||||
{
|
||||
domain = config.secrets.networking.domains.primary;
|
||||
subdomain = "*";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
# Configure the system.
|
||||
aux.system = {
|
||||
# Enable to allow unfree (e.g. closed source) packages.
|
||||
|
|
Loading…
Reference in a new issue