Charlotte 🦝 Delenk
ee15feae9b
Some checks failed
Hydra nixosConfigurations.container-default-riscv64-linux Hydra build #22158 of nixos-config:pr618:nixosConfigurations.container-default-riscv64-linux
Hydra nixosConfigurations.container-default-x86_64-linux Hydra build #22159 of nixos-config:pr618:nixosConfigurations.container-default-x86_64-linux
Hydra checks.x86_64-linux.containers-default Hydra build #22156 of nixos-config:pr618:checks.x86_64-linux.containers-default
Hydra nixosConfigurations.container-default-aarch64-linux Hydra build #22157 of nixos-config:pr618:nixosConfigurations.container-default-aarch64-linux
24 lines
424 B
Nix
24 lines
424 B
Nix
{
|
|
callPackage,
|
|
testers,
|
|
nixos-config,
|
|
inputs,
|
|
}:
|
|
testers.runNixOSTest {
|
|
name = "container-default-test";
|
|
nodes.default = {
|
|
config,
|
|
pkgs,
|
|
nixos-config,
|
|
...
|
|
}: {
|
|
imports = [
|
|
nixos-config.nixosModules.default
|
|
];
|
|
autoContainers = ["default"];
|
|
};
|
|
node.specialArgs = inputs // {inTester = true;};
|
|
testScript = ''
|
|
machine.wait_for_unit("container@default.service")
|
|
'';
|
|
}
|