feat(focus): enable libvirt and acme

This commit is contained in:
514fpv 2024-01-27 09:55:36 +08:00
parent 16f597ef8a
commit 8adda87035
Signed by: koishi
SSH key fingerprint: SHA256:axz0uIzzY+5W19i7QOUuiw5LSqhKfCBKPf3L4xFRxLw
2 changed files with 12 additions and 1 deletions

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

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