Files
nix-dotfiles/systems/palatine-hill/mattermost.nix

21 lines
514 B
Nix
Raw Permalink Normal View History

{
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";
2026-04-18 15:01:16 -04:00
host = "0.0.0.0";
};
}