knossos/services/caddy.nix
2026-03-21 17:41:05 +08:00

18 lines
327 B
Nix

{ config, pkgs, ... }:
{
services.caddy = {
enable = true;
package = pkgs.caddy.withPlugins {
plugins = [ "github.com/caddy-dns/gandi@v1.1.0" ];
hash = "";
# hash = "sha256-F/jqR4iEsklJFycTjSaW8B/V3iTGqqGOzwYBUXxRKrc=";
};
virtualHosts."localhost".extraConfig = ''
respond "Hello, world!"
'';
};
}