infrastructure/machines/compute01/_configuration.nix
Tom Hubrecht 4e7b3154da
Some checks failed
build configuration / build_vault01 (push) Successful in 1m4s
build configuration / build_rescue01 (push) Successful in 1m6s
build configuration / build_storage01 (push) Successful in 1m8s
build configuration / build_web02 (push) Successful in 1m18s
build configuration / build_compute01 (push) Successful in 1m21s
lint / check (push) Successful in 24s
build configuration / build_web01 (push) Successful in 1m31s
build configuration / push_to_cache (push) Has been cancelled
feat(compute01): Add postgres config
2024-04-28 19:14:52 +02:00

45 lines
703 B
Nix

{ lib, ... }:
lib.extra.mkConfig {
enabledModules = [
# List of modules to enable
"dgn-backups"
"dgn-fail2ban"
"dgn-web"
];
enabledServices = [
# List of services to enable
"arkheon"
"ds-fr"
"grafana"
"hedgedoc"
"kanidm"
"librenms"
"mastodon"
"nextcloud"
"outline"
"plausible"
"postgresql"
"rstudio-server"
"satosa"
"signald"
"stirling-pdf"
"telegraf"
"vaultwarden"
"zammad"
];
extraConfig = {
dgn-fail2ban.jails = lib.extra.enableAttrs' "enabled" [
"sshd-bruteforce"
"sshd-timeout"
];
dgn-hardware.useZfs = true;
services.netbird.enable = true;
};
root = ./.;
}