2024-01-10 15:00:18 +01:00
|
|
|
{ lib, ... }:
|
|
|
|
|
|
|
|
lib.extra.mkConfig {
|
|
|
|
enabledModules = [
|
|
|
|
# List of modules to enable
|
|
|
|
"dgn-fail2ban"
|
|
|
|
];
|
|
|
|
|
|
|
|
enabledServices = [
|
|
|
|
# List of services to enable
|
2024-03-27 10:26:31 +01:00
|
|
|
"networking"
|
2024-01-10 15:00:18 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
extraConfig = {
|
2024-02-02 10:51:31 +01:00
|
|
|
dgn-fail2ban.jails = lib.extra.enableAttrs' "enabled" [
|
|
|
|
"sshd-bruteforce"
|
|
|
|
"sshd-timeout"
|
|
|
|
];
|
2024-01-10 15:00:18 +01:00
|
|
|
|
|
|
|
services.netbird.enable = true;
|
2024-01-11 12:58:27 +01:00
|
|
|
|
|
|
|
dgn-hardware.useBcachefs = true;
|
2024-01-10 15:00:18 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
root = ./.;
|
|
|
|
}
|