infrastructure/machines/compute01/_configuration.nix

42 lines
634 B
Nix
Raw Normal View History

{ lib, ... }:
2023-07-18 17:00:31 +02:00
lib.extra.mkConfig {
enabledModules = [
# List of modules to enable
2023-11-28 20:29:25 +01:00
"dgn-fail2ban"
"dgn-web"
];
enabledServices = [
# List of services to enable
"ds-fr"
"grafana"
"hedgedoc"
2023-12-03 17:35:07 +01:00
"k-radius"
"kanidm"
"librenms"
"mastodon"
2023-09-11 11:17:30 +02:00
"nextcloud"
"outline"
"rstudio-server"
"satosa"
2024-02-20 17:08:46 +01:00
"telegraf"
"vaultwarden"
"zammad"
"signald"
];
2023-11-28 20:29:25 +01:00
extraConfig = {
dgn-fail2ban.jails = lib.extra.enableAttrs' "enabled" [
"sshd-bruteforce"
"sshd-timeout"
];
dgn-hardware.useZfs = true;
2023-12-04 09:16:04 +01:00
services.netbird.enable = true;
2023-11-28 20:29:25 +01:00
};
root = ./.;
}