forked from DGNum/infrastructure
34 lines
522 B
Nix
34 lines
522 B
Nix
{ lib, ... }:
|
|
|
|
lib.extra.mkConfig {
|
|
enabledModules = [
|
|
# List of modules to enable
|
|
"dgn-dns"
|
|
"dgn-fail2ban"
|
|
"dgn-web"
|
|
];
|
|
|
|
enabledServices = [
|
|
# List of services to enable
|
|
"ds-fr"
|
|
"hedgedoc"
|
|
"kanidm"
|
|
"mastodon"
|
|
"nextcloud"
|
|
"onlyoffice"
|
|
"outline"
|
|
"rstudio-server"
|
|
"satosa"
|
|
"vaultwarden"
|
|
"zammad"
|
|
];
|
|
|
|
extraConfig = {
|
|
dgn-fail2ban.jails = lib.extra.enableAttrs' "enabled" [
|
|
"sshd-bruteforce"
|
|
"sshd-timeout"
|
|
];
|
|
};
|
|
|
|
root = ./.;
|
|
}
|