sincerity.network/nixos/book-stack.nix
2022-09-28 22:01:07 +10:00

25 lines
577 B
Nix

{ pkgs, ... }:
{
services.bookstack = {
enable = true;
hostname = "wiki.mutualaid.work";
# appKeyFile = "/run/secrets/bookstack-app-key";
nginx = {
serverName = "wiki.mutualaid.work";
listenAddresses = [ "0.0.0.0" ];
forceSSL = true;
enableACME = true;
};
# Not sure this is right?
# Probably will need more configuration and testing
# mail = {
# host = "migadu.com";
# user = "infra@mutualaid.work";
# port = ???;
# from = "bookstack@mutualaid.work";
# driver = "smtp";
# };
};
}