discourse: init (wip)
Incomplete installation of Discourse on pendragon. Missing in particular are emails (both outgoing and incoming). Signed-off-by: Jeltz <jeltz@federez.net>
This commit is contained in:
parent
61ed6e9571
commit
7491e221d3
4 changed files with 40 additions and 1 deletions
19
profiles/discourse.nix
Normal file
19
profiles/discourse.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{ config, lib, pkgs, ... }: {
|
||||
age.secrets.discourse-key-base = {
|
||||
file = ../secrets/discourse-key-base.age;
|
||||
owner = "discourse";
|
||||
group = "discourse";
|
||||
};
|
||||
|
||||
services.postgresql.package = pkgs.postgresql_13;
|
||||
|
||||
services.discourse = {
|
||||
enable = true;
|
||||
hostname = "forum.federez.net";
|
||||
secretKeyBaseFile = config.age.secrets.discourse-key-base.path;
|
||||
# TODO(jeltz): mail
|
||||
admin.skipCreate = true;
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue