infrastructure/machines/web01/_configuration.nix

30 lines
392 B
Nix
Raw Normal View History

{ dgn-lib, ... }:
2023-05-12 03:22:09 +02:00
let
inherit (dgn-lib)
enableModules
mkImports
recursiveFuse;
2023-06-30 18:40:09 +02:00
# List of modules to enable
enabledModules = [
"dgn-web"
];
2023-05-12 03:22:09 +02:00
# List of services to enable
enabledServices = [
"metis"
"linkal"
"plausible"
# "wordpress"
];
in
2023-05-12 03:22:09 +02:00
recursiveFuse [
(enableModules enabledModules)
2023-05-12 03:22:09 +02:00
{
imports = mkImports ./. enabledServices;
}
]