2024-10-28 09:51:44 +00:00
|
|
|
{
|
|
|
|
testers,
|
|
|
|
inputs,
|
|
|
|
}:
|
|
|
|
testers.runNixOSTest {
|
|
|
|
name = "container-default-test";
|
2024-11-09 14:02:26 +00:00
|
|
|
nodes.default =
|
|
|
|
{
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
nixos-config,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
nixos-config.nixosModules.default
|
|
|
|
];
|
|
|
|
autoContainers = [ "default" ];
|
|
|
|
};
|
|
|
|
node.specialArgs = inputs // {
|
|
|
|
inTester = true;
|
2024-10-28 09:51:44 +00:00
|
|
|
};
|
|
|
|
testScript = ''
|
|
|
|
machine.wait_for_unit("container@default.service")
|
|
|
|
'';
|
|
|
|
}
|