diff --git a/flake.nix b/flake.nix index 03795d6..04106d6 100644 --- a/flake.nix +++ b/flake.nix @@ -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: diff --git a/modules/services/caddy.nix b/modules/services/caddy.nix index e40f5b2..89c6542 100644 --- a/modules/services/caddy.nix +++ b/modules/services/caddy.nix @@ -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 } diff --git a/modules/services/static-sites/default.nix b/modules/services/static-sites/default.nix index 7666e20..03b8461 100644 --- a/modules/services/static-sites/default.nix +++ b/modules/services/static-sites/default.nix @@ -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"; + }; } diff --git a/modules/services/webhook-deploy.nix b/modules/services/webhook-deploy.nix index fd485a9..6c5bca6 100644 --- a/modules/services/webhook-deploy.nix +++ b/modules/services/webhook-deploy.nix @@ -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