Add zonetoast.com Pelican site

Wire up flake input, Pelican build, deploy service, webhook trigger, and
Caddy virtual host for zonetoast.com.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
randogoth 2026-05-17 12:22:54 +03:00
parent 09ee1932a2
commit 3ae266293f
4 changed files with 21 additions and 0 deletions

View file

@ -26,6 +26,9 @@
geoblog_plugin.url = "git+ssh://git@codeberg.org/randogoth/geoblog-plugin.git";
geoblog_plugin.flake = false;
zonetoast.url = "git+ssh://git@codeberg.org/randogoth/zonetoast.git";
zonetoast.flake = false;
};
outputs = { self, nixpkgs, sops-nix, ... }@inputs:

View file

@ -62,6 +62,12 @@ nmns.place, www.nmns.place {
file_server
}
zonetoast.com, www.zonetoast.com {
root * /var/www/zonetoast.com/public
encode zstd gzip
file_server
}
relay.otherwhere.app {
reverse_proxy localhost:8880
}

View file

@ -162,6 +162,11 @@ PY
src = inputs.praxis;
};
zonetoastSite = buildPelicanSite {
name = "zonetoast";
src = inputs.zonetoast;
};
isNixBuild = builtins.getEnv "IN_NIX_BUILD" == "1";
in
{
@ -266,4 +271,10 @@ in
src = praxisSite;
dest = "/var/www/privatpraxis-last-heidelberg.de/public";
};
systemd.services."deploy-zonetoast" = mkDeployService {
name = "zonetoast";
src = zonetoastSite;
dest = "/var/www/zonetoast.com/public";
};
}

View file

@ -4,6 +4,7 @@ let
{ name = "sublunar"; input = "sublunar"; }
{ name = "tobias-raayoni-last"; input = "flux_vision"; }
{ name = "nmns"; input = "nfc_web"; }
{ name = "zonetoast"; input = "zonetoast"; }
];
# Template hooks.json with a placeholder secret — real secret injected at