infrastructure/machines/rescue01/_configuration.nix

25 lines
382 B
Nix
Raw Normal View History

2024-02-21 01:44:48 +01:00
{ lib, ... }:
lib.extra.mkConfig {
enabledModules = [
# List of modules to enable
"dgn-fail2ban"
];
enabledServices = [
# List of services to enable
2024-03-28 16:25:29 +01:00
"uptime-kuma"
2024-02-21 01:44:48 +01:00
];
extraConfig = {
dgn-fail2ban.jails = lib.extra.enableAttrs' "enabled" [
"sshd-bruteforce"
"sshd-timeout"
];
services.netbird.enable = true;
};
root = ./.;
}