infrastructure/machines/vault01/_configuration.nix
2024-03-27 10:26:31 +01:00

26 lines
419 B
Nix

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