it works
This commit is contained in:
parent
f81b73e951
commit
618872bb7c
|
@ -9,8 +9,6 @@ in {
|
||||||
security.acme = {
|
security.acme = {
|
||||||
acceptTerms = true;
|
acceptTerms = true;
|
||||||
defaults.email = "Sayeko@proton.me";
|
defaults.email = "Sayeko@proton.me";
|
||||||
defaults.server =
|
|
||||||
"https://acme-staging-v02.api.letsencrypt.org/directory";
|
|
||||||
defaults.group = config.services.nginx.group;
|
defaults.group = config.services.nginx.group;
|
||||||
defaults.credentialsFile = "/srv/secrets/porkbun";
|
defaults.credentialsFile = "/srv/secrets/porkbun";
|
||||||
defaults.dnsProvider = "porkbun";
|
defaults.dnsProvider = "porkbun";
|
||||||
|
|
|
@ -93,7 +93,11 @@ in {
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
security.acme.certs."headscale.sako.lol" = { };
|
security.acme.certs."headscale.sako.lol" = {
|
||||||
|
credentialsFile = "/srv/secrets/porkbun";
|
||||||
|
dnsProvider = "porkbun";
|
||||||
|
webroot = null;
|
||||||
|
};
|
||||||
|
|
||||||
systemd.services = { tailscaled.after = [ "headscale.service" ]; };
|
systemd.services = { tailscaled.after = [ "headscale.service" ]; };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue