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"
|
2024-01-05 16:10:06 +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-28 17:20:16 +02:00
|
|
|
"atticd"
|
2024-07-23 20:47:25 +02:00
|
|
|
"tvix-cache"
|
2023-07-24 09:50:57 +02:00
|
|
|
"forgejo"
|
2024-01-10 13:59:11 +01:00
|
|
|
"forgejo-runners"
|
2023-09-11 11:17:52 +02:00
|
|
|
"garage"
|
2024-02-20 16:33:35 +01:00
|
|
|
"influxdb"
|
2023-12-03 22:13:30 +01:00
|
|
|
"netbird"
|
2023-09-13 10:39:55 +02:00
|
|
|
"peertube"
|
2024-02-19 17:37:57 +01:00
|
|
|
"prometheus"
|
2023-07-23 21:46:53 +02:00
|
|
|
];
|
|
|
|
|
2023-11-29 15:33:45 +01:00
|
|
|
extraConfig = {
|
2024-01-05 16:10:06 +01:00
|
|
|
dgn-fail2ban.jails.sshd-preauth.enabled = true;
|
|
|
|
|
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-29 15:33:45 +01:00
|
|
|
};
|
|
|
|
|
2023-10-02 13:53:20 +02:00
|
|
|
root = ./.;
|
|
|
|
}
|