infrastructure/machines/web02/_configuration.nix
Tom Hubrecht dae3b7c7f6
All checks were successful
build configuration / build_and_cache_rescue01 (push) Successful in 1m13s
build configuration / build_and_cache_geo01 (push) Successful in 1m15s
build configuration / build_and_cache_storage01 (push) Successful in 1m20s
build configuration / build_and_cache_compute01 (push) Successful in 1m34s
build configuration / build_and_cache_krz01 (push) Successful in 2m11s
build configuration / build_and_cache_geo02 (push) Successful in 1m6s
build configuration / build_and_cache_vault01 (push) Successful in 1m19s
lint / check (push) Successful in 23s
build configuration / build_and_cache_web02 (push) Successful in 1m15s
build configuration / build_and_cache_web01 (push) Successful in 1m42s
build configuration / build_and_cache_bridge01 (push) Successful in 1m3s
fix(web02): Remove test user
2024-10-10 09:41:58 +02:00

31 lines
528 B
Nix

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