cleanup porkbun secret

This commit is contained in:
wi11-holdsworth 2025-07-29 14:30:34 +10:00
parent 4363c64619
commit 95a48af464
4 changed files with 7 additions and 13 deletions

View file

@ -8,8 +8,8 @@ let
in
{
config = lib.mkIf config.${feature}.enable {
age.secrets."api-porkbun" = {
file = ../../../secrets/api-porkbun.age;
age.secrets."porkbun-api" = {
file = ../../../secrets/porkbun-api.age;
};
services.${feature} = {
@ -36,7 +36,7 @@ in
group = "${feature}";
dnsProvider = "porkbun";
dnsPropagationCheck = true;
credentialsFile = config.age.secrets."api-porkbun".path;
credentialsFile = config.age.secrets."porkbun-api".path;
};
};