Tom Hubrecht
ccfbc4be42
Some checks failed
build configuration / build_rescue01 (push) Successful in 1m7s
build configuration / build_storage01 (push) Successful in 1m9s
build configuration / build_web02 (push) Successful in 1m8s
build configuration / build_compute01 (push) Successful in 1m29s
lint / check (push) Successful in 26s
build configuration / build_web01 (push) Successful in 1m36s
build configuration / build_vault01 (push) Failing after 8m54s
25 lines
396 B
Nix
25 lines
396 B
Nix
{ lib, ... }:
|
|
|
|
lib.extra.mkConfig {
|
|
enabledModules = [
|
|
# List of modules to enable
|
|
"dgn-fail2ban"
|
|
];
|
|
|
|
enabledServices = [
|
|
# List of services to enable
|
|
"k-radius"
|
|
"networking"
|
|
];
|
|
|
|
extraConfig = {
|
|
dgn-fail2ban.jails = lib.extra.enableAttrs' "enabled" [
|
|
"sshd-bruteforce"
|
|
"sshd-timeout"
|
|
];
|
|
|
|
services.netbird.enable = true;
|
|
};
|
|
|
|
root = ./.;
|
|
}
|