mirror of
https://github.com/RichieCahill/dotfiles.git
synced 2026-04-21 14:49:10 -04:00
temp
This commit is contained in:
22
systems/jeeves/services/acme.nix
Normal file
22
systems/jeeves/services/acme.nix
Normal file
@@ -0,0 +1,22 @@
|
||||
{ config, ... }:
|
||||
let
|
||||
vars = import ../vars.nix;
|
||||
in
|
||||
{
|
||||
security.acme = {
|
||||
acceptTerms = true;
|
||||
defaults = {
|
||||
email = "themadmaker2@protonmail.com";
|
||||
dnsResolver = "1.1.1.1:53";
|
||||
extraLegoFlags = [
|
||||
"--dns-timeout=300"
|
||||
];
|
||||
};
|
||||
certs."tmmworkshop.com" = {
|
||||
dnsProvider = "cloudflare";
|
||||
environmentFile = "${vars.secrets}/services/acme/cloudflare.txt";
|
||||
email = "themadmaker2@protonmail.com";
|
||||
group = config.services.haproxy.group;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user