Files
nixos/tests/tests.nix

48 lines
1.5 KiB
Nix

{
config,
lib,
pkgs,
...
}@args:
let
handleTest = file: import file (args);
in
{
zfsTest = handleTest ./zfs.nix;
testTest = handleTest ./testTest.nix;
minecraftTest = handleTest ./minecraft.nix;
jellyfinQbittorrentMonitorTest = handleTest ./jellyfin-qbittorrent-monitor.nix;
deployGuardTest = handleTest ./deploy-guard.nix;
deployFinalizeTest = handleTest ./deploy-finalize.nix;
filePermsTest = handleTest ./file-perms.nix;
# fail2ban tests
fail2banSshTest = handleTest ./fail2ban/ssh.nix;
fail2banCaddyTest = handleTest ./fail2ban/caddy.nix;
fail2banGiteaTest = handleTest ./fail2ban/gitea.nix;
fail2banVaultwardenTest = handleTest ./fail2ban/vaultwarden.nix;
fail2banImmichTest = handleTest ./fail2ban/immich.nix;
fail2banJellyfinTest = handleTest ./fail2ban/jellyfin.nix;
fail2banLlamaCppTest = handleTest ./fail2ban/llama-cpp.nix;
# jellyfin annotation service test
jellyfinAnnotationsTest = handleTest ./jellyfin-annotations.nix;
# zfs scrub annotations test
zfsScrubAnnotationsTest = handleTest ./zfs-scrub-annotations.nix;
# xmrig auto-pause test
xmrigAutoPauseTest = handleTest ./xmrig-auto-pause.nix;
# ntfy alerts test
ntfyAlertsTest = handleTest ./ntfy-alerts.nix;
# torrent audit test
torrentAuditTest = handleTest ./torrent-audit.nix;
# gitea runner test
giteaRunnerTest = handleTest ./gitea-runner.nix;
# gitea actions visibility gate test
giteaHideActionsTest = handleTest ./gitea-hide-actions.nix;
}