26 lines
649 B
Nix
26 lines
649 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
services.bookstack = {
|
|
enable = true;
|
|
hostname = "wiki.sincerity.network";
|
|
# appKeyFile = "/run/secrets/bookstack-app-key";
|
|
appKeyFile = "/home/infra/app-key-file"; # TODO use agenix
|
|
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@sincerity.network";
|
|
# port = ???;
|
|
# from = "bookstack@sincerity.network";
|
|
# driver = "smtp";
|
|
# };
|
|
};
|
|
}
|