feature/mattermost #212
10
.vscode/mcp.json
vendored
Normal file
10
.vscode/mcp.json
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"servers": {
|
||||
"nixos": {
|
||||
"command": "uvx",
|
||||
"args": [
|
||||
"mcp-nixos"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -14,6 +14,7 @@
|
||||
./haproxy
|
||||
./hardware-changes.nix
|
||||
./hydra.nix
|
||||
./mattermost.nix
|
||||
./minio.nix
|
||||
./networking.nix
|
||||
./nextcloud.nix
|
||||
|
||||
@@ -48,6 +48,9 @@
|
||||
|
||||
# torr
|
||||
29432
|
||||
|
||||
# mattermost
|
||||
8065
|
||||
];
|
||||
|
||||
allowedUDPPorts = [
|
||||
|
||||
19
systems/palatine-hill/mattermost.nix
Normal file
19
systems/palatine-hill/mattermost.nix
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
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";
|
||||
};
|
||||
}
|
||||
@@ -40,6 +40,7 @@ in
|
||||
ensureDatabases = [
|
||||
"atticd"
|
||||
"alice"
|
||||
"mattermost"
|
||||
];
|
||||
ensureUsers = [
|
||||
{
|
||||
@@ -171,6 +172,7 @@ in
|
||||
"hydra-server"
|
||||
"atticd"
|
||||
"gitea"
|
||||
"mattermost"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
@@ -20,4 +20,5 @@ rec {
|
||||
primary_plex = "${zfs_primary}/plex";
|
||||
primary_plex_storage = "${zfs_primary}/plex_storage";
|
||||
primary_ollama = "${zfs_primary}/ollama";
|
||||
primary_mattermost = "${zfs_primary}/mattermost";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user