Ryan Lahfa
4237fc57bd
This is to bridge all DGNum channels and hackENS. Signed-off-by: Ryan Lahfa <ryan@dgnum.eu>
40 lines
619 B
Nix
40 lines
619 B
Nix
{ lib, ... }:
|
|
|
|
lib.extra.mkConfig {
|
|
enabledModules = [
|
|
# List of modules to enable
|
|
"dgn-fail2ban"
|
|
"dgn-web"
|
|
];
|
|
|
|
enabledServices = [
|
|
# List of services to enable
|
|
"ds-fr"
|
|
"grafana"
|
|
"hedgedoc"
|
|
"k-radius"
|
|
"kanidm"
|
|
"librenms"
|
|
"mastodon"
|
|
"nextcloud"
|
|
"outline"
|
|
"rstudio-server"
|
|
"satosa"
|
|
"vaultwarden"
|
|
"zammad"
|
|
"signald"
|
|
];
|
|
|
|
extraConfig = {
|
|
dgn-fail2ban.jails = lib.extra.enableAttrs' "enabled" [
|
|
"sshd-bruteforce"
|
|
"sshd-timeout"
|
|
];
|
|
|
|
dgn-hardware.useZfs = true;
|
|
|
|
services.netbird.enable = true;
|
|
};
|
|
|
|
root = ./.;
|
|
}
|