sincerity.network/nixos/book-stack.nix

25 lines
577 B
Nix
Raw Normal View History

{ 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";
# };
};
}