fdd4f4b443
All checks were successful
build configuration / build_vault01 (push) Successful in 1m10s
build configuration / build_web02 (push) Successful in 1m11s
build configuration / build_storage01 (push) Successful in 1m13s
build configuration / build_compute01 (push) Successful in 1m22s
lint / check (push) Successful in 23s
build configuration / build_web01 (push) Successful in 1m38s
build configuration / build_rescue01 (push) Successful in 1m41s
24 lines
382 B
Nix
24 lines
382 B
Nix
{ lib, ... }:
|
|
|
|
lib.extra.mkConfig {
|
|
enabledModules = [
|
|
# List of modules to enable
|
|
"dgn-fail2ban"
|
|
];
|
|
|
|
enabledServices = [
|
|
# List of services to enable
|
|
"uptime-kuma"
|
|
];
|
|
|
|
extraConfig = {
|
|
dgn-fail2ban.jails = lib.extra.enableAttrs' "enabled" [
|
|
"sshd-bruteforce"
|
|
"sshd-timeout"
|
|
];
|
|
|
|
services.netbird.enable = true;
|
|
};
|
|
|
|
root = ./.;
|
|
}
|