2023-10-04 09:23:48 +02:00
|
|
|
{ lib, ... }:
|
2023-07-18 17:00:31 +02:00
|
|
|
|
2023-10-04 09:23:48 +02:00
|
|
|
lib.extra.mkConfig {
|
2023-07-23 21:46:53 +02:00
|
|
|
enabledModules = [
|
2023-10-02 13:53:20 +02:00
|
|
|
# List of modules to enable
|
2023-11-28 20:29:25 +01:00
|
|
|
"dgn-fail2ban"
|
2023-10-01 22:55:05 +02:00
|
|
|
"dgn-web"
|
2023-07-23 21:46:53 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
enabledServices = [
|
2023-10-02 13:53:20 +02:00
|
|
|
# List of services to enable
|
2023-09-24 13:16:22 +02:00
|
|
|
"ds-fr"
|
2023-10-05 09:52:13 +02:00
|
|
|
"hedgedoc"
|
2023-12-03 17:35:07 +01:00
|
|
|
"k-radius"
|
2023-09-14 08:04:48 +02:00
|
|
|
"kanidm"
|
2024-02-18 15:27:48 +01:00
|
|
|
"librenms"
|
2023-09-13 11:09:41 +02:00
|
|
|
"mastodon"
|
2023-09-11 11:17:30 +02:00
|
|
|
"nextcloud"
|
2023-09-24 15:47:29 +02:00
|
|
|
"outline"
|
2023-10-04 11:11:30 +02:00
|
|
|
"rstudio-server"
|
2023-09-27 22:33:18 +02:00
|
|
|
"satosa"
|
2023-10-14 14:26:48 +02:00
|
|
|
"vaultwarden"
|
2023-10-02 12:50:40 +02:00
|
|
|
"zammad"
|
2023-07-23 21:46:53 +02:00
|
|
|
];
|
|
|
|
|
2023-11-28 20:29:25 +01:00
|
|
|
extraConfig = {
|
|
|
|
dgn-fail2ban.jails = lib.extra.enableAttrs' "enabled" [
|
|
|
|
"sshd-bruteforce"
|
|
|
|
"sshd-timeout"
|
|
|
|
];
|
2023-11-29 15:33:45 +01:00
|
|
|
|
|
|
|
dgn-hardware.useZfs = true;
|
2023-12-04 09:16:04 +01:00
|
|
|
|
|
|
|
services.netbird.enable = true;
|
2023-11-28 20:29:25 +01:00
|
|
|
};
|
|
|
|
|
2023-10-02 13:53:20 +02:00
|
|
|
root = ./.;
|
|
|
|
}
|