infrastructure/machines/web02/_configuration.nix

25 lines
381 B
Nix
Raw Permalink Normal View History

2024-01-11 12:45:01 +01:00
{ lib, ... }:
lib.extra.mkConfig {
enabledModules = [
# List of modules to enable
"dgn-fail2ban"
];
enabledServices = [
# List of services to enable
"monitoring"
2024-01-11 12:45:01 +01:00
];
extraConfig = {
dgn-fail2ban.jails = lib.extra.enableAttrs' "enabled" [
"sshd-bruteforce"
"sshd-timeout"
];
2024-01-11 12:45:01 +01:00
services.netbird.enable = true;
};
root = ./.;
}