2024-02-12 23:35:55 +01:00
|
|
|
{ pkgs }:
|
|
|
|
|
|
|
|
let
|
|
|
|
nixosLib = import "${pkgs.path}/nixos/lib" { };
|
|
|
|
|
|
|
|
runTest = test:
|
|
|
|
nixosLib.runTest {
|
|
|
|
imports = [ test { node.pkgs = pkgs; } ];
|
|
|
|
hostPkgs = pkgs; # the Nixpkgs package set used outside the VMs
|
|
|
|
};
|
|
|
|
|
|
|
|
tests = {
|
2024-12-19 12:27:52 +01:00
|
|
|
home-with-symbols = runTest ./standalone/home-with-symbols.nix;
|
2024-08-17 19:21:57 +02:00
|
|
|
kitty = runTest ./standalone/kitty.nix;
|
2024-02-12 23:35:55 +01:00
|
|
|
nixos-basics = runTest ./nixos/basics.nix;
|
|
|
|
standalone-flake-basics = runTest ./standalone/flake-basics.nix;
|
|
|
|
standalone-standard-basics = runTest ./standalone/standard-basics.nix;
|
|
|
|
};
|
|
|
|
in tests // {
|
|
|
|
all = pkgs.linkFarm "all"
|
|
|
|
(pkgs.lib.mapAttrsToList (name: path: { inherit name path; }) tests);
|
|
|
|
}
|