infrastructure/machines/web02/_configuration.nix

32 lines
528 B
Nix
Raw Normal View History

{ lib, pkgs, ... }:
2024-01-11 12:45:01 +01:00
lib.extra.mkConfig {
enabledModules = [
# List of modules to enable
"dgn-web"
2024-01-11 12:45:01 +01:00
];
enabledServices = [
# List of services to enable
"cas-eleves"
"kadenios"
2024-01-11 12:45:01 +01:00
];
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;
};
2024-01-11 12:45:01 +01:00
};
root = ./.;
}