{ 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; } ]