sincerity.network/nixos/book-stack.nix

26 lines
649 B
Nix
Raw Normal View History

{ pkgs, ... }:
{
services.bookstack = {
enable = true;
2022-10-02 21:45:56 -07:00
hostname = "wiki.sincerity.network";
# appKeyFile = "/run/secrets/bookstack-app-key";
2022-10-02 21:45:56 -07:00
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";
2022-10-02 21:45:56 -07:00
# user = "infra@sincerity.network";
# port = ???;
2022-10-02 21:45:56 -07:00
# from = "bookstack@sincerity.network";
# driver = "smtp";
# };
};
}