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:
parent
09ee1932a2
commit
3ae266293f
4 changed files with 21 additions and 0 deletions
|
|
@ -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";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue