22 lines
354 B
Nix
22 lines
354 B
Nix
|
{ lib, ... }:
|
||
|
|
||
|
lib.extra.mkConfig {
|
||
|
enabledModules = [
|
||
|
# List of modules to enable
|
||
|
"dgn-fail2ban"
|
||
|
];
|
||
|
|
||
|
enabledServices = [
|
||
|
# List of services to enable
|
||
|
];
|
||
|
|
||
|
extraConfig = {
|
||
|
dgn-fail2ban.jails =
|
||
|
lib.extra.enableAttrs' "enabled" [ "sshd-bruteforce" "sshd-timeout" ];
|
||
|
|
||
|
services.netbird.enable = true;
|
||
|
};
|
||
|
|
||
|
root = ./.;
|
||
|
}
|