infrastructure/machines/compute01/_configuration.nix
2023-09-24 13:16:22 +02:00

29 lines
389 B
Nix

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