infrastructure/machines/compute01/_configuration.nix

44 lines
670 B
Nix
Raw Normal View History

{ lib, ... }:
2023-07-18 17:00:31 +02:00
lib.extra.mkConfig {
enabledModules = [
# List of modules to enable
2024-02-21 17:18:14 +01:00
"dgn-backups"
2023-11-28 20:29:25 +01:00
"dgn-fail2ban"
"dgn-web"
];
enabledServices = [
# List of services to enable
2024-03-08 11:54:59 +01:00
"arkheon"
"ds-fr"
"grafana"
"hedgedoc"
"kanidm"
"librenms"
"mastodon"
2023-09-11 11:17:30 +02:00
"nextcloud"
"outline"
"rstudio-server"
"satosa"
"signald"
"stirling-pdf"
2024-02-20 17:08:46 +01:00
"telegraf"
"vaultwarden"
"zammad"
];
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 = ./.;
}