infrastructure/machines/web02/_configuration.nix
Tom Hubrecht daea63c97f
All checks were successful
lint / check (push) Successful in 23s
feat(web02): Deploy mattermost on chat.dgnum.eu
2024-10-17 23:39:13 +02:00

32 lines
547 B
Nix

{ lib, pkgs, ... }:
lib.extra.mkConfig {
enabledModules = [
# List of modules to enable
"dgn-web"
];
enabledServices = [
# List of services to enable
"cas-eleves"
"kadenios"
# "mattermost"
];
extraConfig = {
# Restrict access to this node
dgn-access-control.users.root = [ "thubrecht" ];
# Disable monitoring
dgn-node-monitoring.enable = false;
# Enable Postgres databases
services.postgresql = {
enable = true;
package = pkgs.postgresql_16;
};
};
root = ./.;
}