This commit is contained in:
Henry Hiles 2025-07-21 20:28:06 -04:00
commit cb4b7e370d
No known key found for this signature in database
8 changed files with 366 additions and 23 deletions

View file

@ -1,12 +1,19 @@
{pkgs, ...}: {
{
pkgs,
lib,
...
}: {
networking.firewall.allowedTCPPorts = [443];
services.caddy = {
enable = true;
email = "henry@henryhiles.com";
services = {
nginx.enable = lib.mkForce false;
caddy = {
enable = true;
email = "hen" + "ry@he" + "nryhi" + "les.c" + "om";
package = pkgs.caddy.withPlugins {
plugins = ["github.com/ggicci/caddy-jwt@v1.1.0"];
hash = "sha256-sdhX/dAQ7lIxBo/ZW6XYX8SRuacLO9HobtIVKD/cw0o=";
package = pkgs.caddy.withPlugins {
plugins = ["github.com/ggicci/caddy-jwt@v1.1.0"];
hash = "sha256-sdhX/dAQ7lIxBo/ZW6XYX8SRuacLO9HobtIVKD/cw0o=";
};
};
};
}