Files
nix-dotfiles/systems/palatine-hill/mattermost.nix
ahuston-0 38809d7c3c
All checks were successful
Check flake.lock / Check health of `flake.lock` (pull_request) Successful in 11s
Check Nix flake / Perform Nix flake checks (pull_request) Successful in 6m50s
add mattermost listening address
2026-04-18 15:01:16 -04:00

21 lines
514 B
Nix

{
config,
...
}:
let
vars = import ./vars.nix;
in
{
services.mattermost = {
enable = true;
siteUrl = "https://mattermost.nayeonie.com"; # Set this to the URL you will be hosting the site on.
database = {
peerAuth = true; # This allows Mattermost to connect to the database without a password, which is more secure when both are on the same machine.
create = true;
driver = "postgres";
};
dataDir = "${vars.primary_mattermost}/mattermost";
host = "0.0.0.0";
};
}