This commit is contained in:
2024-12-27 17:34:06 +02:00
parent b85405e63f
commit 32e7a943f2

View File

@@ -29,8 +29,8 @@
extraDomainNames = [ "*.kyren.codes" ];
dnsProvider = "namecheap";
environmentFile = "${pkgs.writeText "namecheap-creds" ''
NAMECHEAP_API_USER=${builtins.readFile "/run/secrets/namecheap-api-user"}
NAMECHEAP_API_KEY=${builtins.readFile "/root/namecheap-api-key"}
NAMECHEAP_API_USER_FILE=/run/secrets/namecheap-api-user
NAMECHEAP_API_KEY_FILE=/root/namecheap-api-key
''}";
};
};