infrastructure/machines/compute01/_configuration.nix

35 lines
522 B
Nix
Raw Normal View History

{ lib, ... }:
2023-07-18 17:00:31 +02:00
lib.extra.mkConfig {
enabledModules = [
# List of modules to enable
"dgn-dns"
2023-11-28 20:29:25 +01:00
"dgn-fail2ban"
"dgn-web"
];
enabledServices = [
# List of services to enable
"ds-fr"
"hedgedoc"
"kanidm"
"mastodon"
2023-09-11 11:17:30 +02:00
"nextcloud"
"onlyoffice"
"outline"
"rstudio-server"
"satosa"
"vaultwarden"
"zammad"
];
2023-11-28 20:29:25 +01:00
extraConfig = {
dgn-fail2ban.jails = lib.extra.enableAttrs' "enabled" [
"sshd-bruteforce"
"sshd-timeout"
];
};
root = ./.;
}