infrastructure/machines/storage01/_configuration.nix
Tom Hubrecht 03d4fd3982
All checks were successful
build configuration / build_web01 (push) Successful in 45s
build configuration / build_storage01 (push) Successful in 56s
build configuration / build_compute01 (push) Successful in 1m13s
feat(fail2ban): Add preauth jail and enable on storage01
2024-01-05 16:10:06 +01:00

31 lines
479 B
Nix

{ lib, ... }:
lib.extra.mkConfig {
enabledModules = [
# List of modules to enable
"dgn-fail2ban"
"dgn-web"
];
enabledServices = [
# List of services to enable
"atticd"
"forgejo"
"garage"
"gitea-actions-runner"
"netbird"
"peertube"
];
extraConfig = {
dgn-fail2ban.jails.sshd-preauth.enabled = true;
dgn-hardware.useZfs = true;
dgn-runners.enable = true;
services.netbird.enable = true;
};
root = ./.;
}