Tom Hubrecht
2a388f53ac
All checks were successful
build configuration / build_web02 (push) Successful in 1m8s
build configuration / build_vault01 (push) Successful in 1m9s
build configuration / build_rescue01 (push) Successful in 1m8s
build configuration / build_storage01 (push) Successful in 1m13s
lint / check (push) Successful in 24s
build configuration / build_web01 (push) Successful in 1m35s
build configuration / build_compute01 (push) Successful in 2m38s
43 lines
666 B
Nix
43 lines
666 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"
|
|
"k-radius"
|
|
"kanidm"
|
|
"librenms"
|
|
"mastodon"
|
|
"nextcloud"
|
|
"outline"
|
|
"rstudio-server"
|
|
"satosa"
|
|
"telegraf"
|
|
"vaultwarden"
|
|
"zammad"
|
|
"signald"
|
|
];
|
|
|
|
extraConfig = {
|
|
dgn-fail2ban.jails = lib.extra.enableAttrs' "enabled" [
|
|
"sshd-bruteforce"
|
|
"sshd-timeout"
|
|
];
|
|
|
|
dgn-hardware.useZfs = true;
|
|
|
|
services.netbird.enable = true;
|
|
};
|
|
|
|
root = ./.;
|
|
}
|