diff --git a/services/default.nix b/services/default.nix index b0e034c1..25a3af00 100644 --- a/services/default.nix +++ b/services/default.nix @@ -5,11 +5,10 @@ inherit system; }, }: -let - inherit (pkgs) lib; -in -lib.mapAttrs (name: test: pkgs.testers.runNixOSTest (test // { inherit name; })) { - mastodon = import ./tests/mastodon.nix { inherit pkgs; }; - pixelfed-garage = import ./tests/pixelfed-garage.nix { inherit pkgs; }; - peertube = import ./tests/peertube.nix { inherit pkgs; }; +{ + tests = { + mastodon = import ./tests/mastodon.nix { inherit pkgs; }; + pixelfed-garage = import ./tests/pixelfed-garage.nix { inherit pkgs; }; + peertube = import ./tests/peertube.nix { inherit pkgs; }; + }; }