infrastructure/machines/nixos/web02/_configuration.nix

36 lines
635 B
Nix
Raw Normal View History

# SPDX-FileCopyrightText: 2024 Tom Hubrecht <tom.hubrecht@dgnum.eu>
#
# SPDX-License-Identifier: EUPL-1.2
{ 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 = ./.;
}