refactor(eientei)!: migrate library configuration

This commit is contained in:
514fpv 2024-02-02 04:39:50 +08:00
parent d3dfa29add
commit 825a909f51
Signed by: koishi
SSH key fingerprint: SHA256:axz0uIzzY+5W19i7QOUuiw5LSqhKfCBKPf3L4xFRxLw
10 changed files with 52 additions and 103 deletions

11
spec/eientei/acme.nix Normal file
View file

@ -0,0 +1,11 @@
{
security.acme.certs = let
cloudflare = {
dnsProvider = "cloudflare";
credentialsFile = "/nix/persist/secret/cloudflare";
};
in {
"514fpv.io" = cloudflare;
".514fpv.io" = cloudflare // { domain = "*.514fpv.io"; };
};
}