infrastructure/machines/storage01/_configuration.nix
Tom Hubrecht 9059ebe4d8
All checks were successful
build configuration / build_compute01 (push) Successful in 54s
build configuration / build_storage01 (push) Successful in 1m37s
build configuration / build_vault01 (push) Successful in 47s
build configuration / build_web02 (push) Successful in 46s
build configuration / build_web01 (push) Successful in 1m8s
lint / check (push) Successful in 20s
ds-fr update / npins_update (push) Successful in 2m8s
feat(storage01): Deploy prometheus on prometheus.dgnum.eu
2024-02-19 17:37:57 +01:00

30 lines
459 B
Nix

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