infrastructure/machines/web01/_configuration.nix
Tom Hubrecht 4be2f40abe feat(dgn-web): Enable module on nodes serving web content
Also remove the firewall config as it is now centralized.
2023-10-01 23:08:54 +02:00

29 lines
392 B
Nix

{ dgn-lib, ... }:
let
inherit (dgn-lib)
enableModules
mkImports
recursiveFuse;
# List of modules to enable
enabledModules = [
"dgn-web"
];
# List of services to enable
enabledServices = [
"metis"
"linkal"
"plausible"
# "wordpress"
];
in
recursiveFuse [
(enableModules enabledModules)
{
imports = mkImports ./. enabledServices;
}
]