-{ lib, pkgs, ... }: {
+pkgs: {
name = "qemu-private-store-mount-grep";
+ hostPkgs = pkgs;
+
nodes = {
shared = _: { };
private = _: { imports = [ ../modules/qemu-vm-isolation.nix ]; };
useNixStoreImage = {
virtualisation = {
- sharedDirectories = lib.mkForce { };
+ sharedDirectories = pkgs.lib.mkForce { };
useNixStoreImage = true;
};
};
qemu-vm-isolation = import ./modules/qemu-vm-isolation.nix;
};
checks = forAllSystems (system: {
- mount-grep = nixpkgs.legacyPackages."${system}".nixosTest
- (import ./checks/mount-grep.nix);
+ mount-grep = nixpkgs.lib.nixos.runTest
+ (import ./checks/mount-grep.nix nixpkgs.legacyPackages."${system}");
});
};
}