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
|
|
@ -26,6 +26,9 @@
|
||||||
|
|
||||||
geoblog_plugin.url = "git+ssh://git@codeberg.org/randogoth/geoblog-plugin.git";
|
geoblog_plugin.url = "git+ssh://git@codeberg.org/randogoth/geoblog-plugin.git";
|
||||||
geoblog_plugin.flake = false;
|
geoblog_plugin.flake = false;
|
||||||
|
|
||||||
|
zonetoast.url = "git+ssh://git@codeberg.org/randogoth/zonetoast.git";
|
||||||
|
zonetoast.flake = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, sops-nix, ... }@inputs:
|
outputs = { self, nixpkgs, sops-nix, ... }@inputs:
|
||||||
|
|
|
||||||
|
|
@ -62,6 +62,12 @@ nmns.place, www.nmns.place {
|
||||||
file_server
|
file_server
|
||||||
}
|
}
|
||||||
|
|
||||||
|
zonetoast.com, www.zonetoast.com {
|
||||||
|
root * /var/www/zonetoast.com/public
|
||||||
|
encode zstd gzip
|
||||||
|
file_server
|
||||||
|
}
|
||||||
|
|
||||||
relay.otherwhere.app {
|
relay.otherwhere.app {
|
||||||
reverse_proxy localhost:8880
|
reverse_proxy localhost:8880
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -162,6 +162,11 @@ PY
|
||||||
src = inputs.praxis;
|
src = inputs.praxis;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
zonetoastSite = buildPelicanSite {
|
||||||
|
name = "zonetoast";
|
||||||
|
src = inputs.zonetoast;
|
||||||
|
};
|
||||||
|
|
||||||
isNixBuild = builtins.getEnv "IN_NIX_BUILD" == "1";
|
isNixBuild = builtins.getEnv "IN_NIX_BUILD" == "1";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|
@ -266,4 +271,10 @@ in
|
||||||
src = praxisSite;
|
src = praxisSite;
|
||||||
dest = "/var/www/privatpraxis-last-heidelberg.de/public";
|
dest = "/var/www/privatpraxis-last-heidelberg.de/public";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
systemd.services."deploy-zonetoast" = mkDeployService {
|
||||||
|
name = "zonetoast";
|
||||||
|
src = zonetoastSite;
|
||||||
|
dest = "/var/www/zonetoast.com/public";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,7 @@ let
|
||||||
{ name = "sublunar"; input = "sublunar"; }
|
{ name = "sublunar"; input = "sublunar"; }
|
||||||
{ name = "tobias-raayoni-last"; input = "flux_vision"; }
|
{ name = "tobias-raayoni-last"; input = "flux_vision"; }
|
||||||
{ name = "nmns"; input = "nfc_web"; }
|
{ name = "nmns"; input = "nfc_web"; }
|
||||||
|
{ name = "zonetoast"; input = "zonetoast"; }
|
||||||
];
|
];
|
||||||
|
|
||||||
# Template hooks.json with a placeholder secret — real secret injected at
|
# Template hooks.json with a placeholder secret — real secret injected at
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue