Use ACME for certificates

Simplifies a lot the configuration. It eliminates the overlay and it accepts the key via environment file
This commit is contained in:
pazpi 2024-11-06 12:09:39 +01:00
parent 191119d1f1
commit d86ded0d74
4 changed files with 77 additions and 22 deletions

View file

@ -58,7 +58,12 @@ in
authKeyFile = config.age.secrets.tailscale-authKey.path;
};
caddy.enable = true;
caddy = {
enable = true;
email = "pasettodavide@gmail.com";
domain = "tegola.pro";
};
};
virtualisation = {