replace app with discourse module

This commit is contained in:
Yisroel Baum 2026-07-19 10:29:50 +03:00
parent 63a68f8ae0
commit 95cdeaedfa
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9
236 changed files with 357 additions and 31169 deletions

28
README.md Normal file
View file

@ -0,0 +1,28 @@
# TIDE
TIDE is the NixOS module for the Torah Im Derech Eretz forum. It deploys the
forum with NixOS Discourse and configures its production Borg backup.
## NixOS module
Import `nixosModules.tide` or `nixosModules.default`, then provide the runtime
secret paths:
```nix
services.tide = {
enable = true;
secretFiles = {
adminPassword = "/run/secrets/tide-admin-password";
mailPassword = "/run/secrets/tide-mail-password";
secretKeyBase = "/run/secrets/tide-secret-key-base";
borgPassphrase = "/run/secrets/borg-passphrase";
borgPrivateKey = "/run/secrets/borg-private-key";
};
};
```
The module owns the forum hostname, site identity, SMTP configuration, and
backup policy. The importing host owns secret provisioning.
See [RECOVERY.md](./RECOVERY.md) for the database and state restoration
procedure.