2023-07-23 21:46:53 +02:00
|
|
|
{ dgn-lib, ... }:
|
2023-07-18 17:00:31 +02:00
|
|
|
|
2023-07-23 21:46:53 +02:00
|
|
|
let
|
|
|
|
inherit (dgn-lib)
|
|
|
|
enableModules
|
|
|
|
mkImports
|
|
|
|
recursiveFuse;
|
2023-07-21 00:37:05 +02:00
|
|
|
|
2023-07-23 21:46:53 +02:00
|
|
|
# List of modules to enable
|
|
|
|
enabledModules = [
|
|
|
|
"dgn-dns"
|
|
|
|
];
|
|
|
|
|
|
|
|
# List of services to enable
|
|
|
|
enabledServices = [
|
2023-09-13 11:09:41 +02:00
|
|
|
"mastodon"
|
2023-09-11 11:17:30 +02:00
|
|
|
"nextcloud"
|
2023-07-23 21:46:53 +02:00
|
|
|
];
|
|
|
|
in
|
|
|
|
|
|
|
|
recursiveFuse [
|
|
|
|
(enableModules enabledModules)
|
|
|
|
|
|
|
|
{
|
|
|
|
imports = mkImports ./. enabledServices;
|
|
|
|
}
|
|
|
|
]
|