infrastructure/machines/compute01/_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

32 lines
430 B
Nix

{ dgn-lib, ... }:
let
inherit (dgn-lib)
enableModules
mkImports
recursiveFuse;
# List of modules to enable
enabledModules = [
"dgn-dns"
"dgn-web"
];
# List of services to enable
enabledServices = [
"ds-fr"
"kanidm"
"mastodon"
"nextcloud"
"outline"
"satosa"
];
in
recursiveFuse [
(enableModules enabledModules)
{
imports = mkImports ./. enabledServices;
}
]