knossos/services/caddy.nix

18 lines
327 B
Nix
Raw Normal View History

2026-03-20 18:42:07 +08:00
{ config, pkgs, ... }:
{
services.caddy = {
enable = true;
package = pkgs.caddy.withPlugins {
plugins = [ "github.com/caddy-dns/gandi@v1.1.0" ];
2026-03-20 18:53:18 +08:00
hash = "";
# hash = "sha256-F/jqR4iEsklJFycTjSaW8B/V3iTGqqGOzwYBUXxRKrc=";
2026-03-20 18:42:07 +08:00
};
2026-03-21 17:41:05 +08:00
virtualHosts."localhost".extraConfig = ''
respond "Hello, world!"
'';
2026-03-20 18:42:07 +08:00
};
}