Updates
This commit is contained in:
parent
0ea6dbbee8
commit
ef2c7ecf1c
1 changed files with 5 additions and 4 deletions
|
@ -53,18 +53,19 @@
|
||||||
|
|
||||||
sops.secrets."cloudflare/api_key" = {
|
sops.secrets."cloudflare/api_key" = {
|
||||||
owner = "haproxy";
|
owner = "haproxy";
|
||||||
sopsFile = ../../../secrets/cloufdlare.yaml;
|
sopsFile = ../../../secrets/cloudflare.yaml;
|
||||||
};
|
};
|
||||||
|
|
||||||
security.acme = {
|
security.acme = {
|
||||||
enable = true;
|
acceptTerms = true;
|
||||||
defaults = {
|
defaults = {
|
||||||
keyType = "pem";
|
keyType = "pem";
|
||||||
group = "haproxy";
|
group = "haproxy";
|
||||||
reloadServices = [ "haproxy" ];
|
reloadServices = [ "haproxy" ];
|
||||||
email = "albert@sysctl.io";
|
email = "albert@sysctl.io";
|
||||||
|
dnsProvider = "cloudflare";
|
||||||
credentialFiles = {
|
credentialFiles = {
|
||||||
CF_Token = "/var/run/secrets/cloudflare/api_key"
|
CLOUDFLARE_API_KEY_FILE = "/var/run/secrets/cloudflare/api_key";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
certs = {
|
certs = {
|
||||||
|
|
Loading…
Reference in a new issue