infrastructure/machines/vault01/_configuration.nix
sinavir bf4bdf70df
All checks were successful
build configuration / build_web02 (push) Successful in 2m26s
build configuration / build_rescue01 (push) Successful in 2m26s
build configuration / build_vault01 (push) Successful in 2m29s
build configuration / build_compute01 (push) Successful in 2m32s
build configuration / build_storage01 (push) Successful in 2m38s
build configuration / build_web01 (push) Successful in 2m49s
lint / check (push) Successful in 24s
build configuration / push_to_cache (push) Successful in 2m22s
fix(netbox-agent): disable on vault01
2024-05-07 08:45:19 +02:00

27 lines
433 B
Nix

{ lib, ... }:
lib.extra.mkConfig {
enabledModules = [
# List of modules to enable
"dgn-fail2ban"
];
enabledServices = [
# List of services to enable
"k-radius"
"networking"
"ups"
"netbox-agent-disable"
];
extraConfig = {
dgn-fail2ban.jails = lib.extra.enableAttrs' "enabled" [
"sshd-bruteforce"
"sshd-timeout"
];
services.netbird.enable = true;
};
root = ./.;
}