0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-19 00:20:32 +03:00
nixpkgs/nixos/tests/incus/default.nix
Adam C. Stephens e020e1909f nixos/tests/incus: fix multi-system support
(cherry picked from commit 9e95bbbc34)
2024-12-23 03:32:53 +00:00

49 lines
818 B
Nix

{
system ? builtins.currentSystem,
config ? { },
pkgs ? import ../../.. { inherit system config; },
lts ? true,
...
}:
let
incusTest = import ./incus-tests.nix;
in
{
all = incusTest {
inherit lts pkgs system;
allTests = true;
};
container = incusTest {
inherit lts pkgs system;
instanceContainer = true;
};
lvm = incusTest {
inherit lts pkgs system;
storageLvm = true;
};
lxd-to-incus = import ./lxd-to-incus.nix {
inherit lts pkgs system;
};
openvswitch = incusTest {
inherit lts pkgs system;
networkOvs = true;
};
ui = import ./ui.nix {
inherit lts pkgs system;
};
virtual-machine = incusTest {
inherit lts pkgs system;
instanceVm = true;
};
zfs = incusTest {
inherit lts pkgs system;
storageLvm = true;
};
}