infrastructure/machines/compute01/_configuration.nix

33 lines
443 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"
"zammad"
];
in
recursiveFuse [
(enableModules enabledModules)
{
imports = mkImports ./. enabledServices;
}
]