infrastructure/machines/storage01/_configuration.nix
Tom Hubrecht df8831301f
All checks were successful
build configuration / build_compute01 (push) Successful in 1m46s
build configuration / build_storage01 (push) Successful in 55s
build configuration / build_web01 (push) Successful in 1m3s
feat(storage01): Switch to nix-modules for forgejo nix runners
2024-01-10 13:59:11 +01:00

29 lines
442 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"
];
extraConfig = {
dgn-fail2ban.jails.sshd-preauth.enabled = true;
dgn-hardware.useZfs = true;
services.netbird.enable = true;
};
root = ./.;
}