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
|
2024-02-21 17:18:14 +01:00
|
|
|
"dgn-backups"
|
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
|
2024-03-08 11:54:59 +01:00
|
|
|
"arkheon"
|
2023-09-24 13:16:22 +02:00
|
|
|
"ds-fr"
|
2024-02-19 14:20:21 +01:00
|
|
|
"grafana"
|
2023-10-05 09:52:13 +02:00
|
|
|
"hedgedoc"
|
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"
|
2024-04-21 22:42:51 +02:00
|
|
|
"plausible"
|
2024-04-28 19:14:52 +02:00
|
|
|
"postgresql"
|
2023-10-04 11:11:30 +02:00
|
|
|
"rstudio-server"
|
2023-09-27 22:33:18 +02:00
|
|
|
"satosa"
|
2024-04-19 14:40:09 +02:00
|
|
|
"signald"
|
|
|
|
"stirling-pdf"
|
2024-02-20 17:08:46 +01:00
|
|
|
"telegraf"
|
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 = ./.;
|
|
|
|
}
|