server/services/silverbullet.nix

17 lines
310 B
Nix
Raw Normal View History

{ config, domains, ... }:
{
services.silverbullet = {
enable = true;
envFile = config.age.secrets.silverbullet.path;
};
services.nginx.virtualHosts."${domains.notes}" = {
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://localhost:3000";
};
};
}