forum

General

In here, we only have Docker set up and use the traditional way of installing Discourse to /var/discourse. Since own scripts are provided to handle the container, not much is to be seen here.

Nix expression

{ sources, ... }: {
  imports = sources.defaultModules ++ [ ../modules ];

  # Enable Docker since we use the official Docker image in /var/discourse
  virtualisation.docker.enable = true;

  # Open required port
  networking.firewall.allowedTCPPorts = [ 80 ];

  system.stateVersion = "23.05";
}