{ inputs, sources, system, }: let overlay = _: prev: { terraform-backend = prev.callPackage "${sources.nixpkgs-unstable}/pkgs/by-name/te/terraform-backend/package.nix" { }; opentofu = pkgs.callPackage ../../tf.nix { }; }; pkgs = import sources.nixpkgs { inherit system; overlays = [ overlay ]; }; in pkgs.testers.runNixOSTest { imports = [ ../common/nixosTest.nix ./nixosTest.nix ]; _module.args = { inherit inputs sources; modulesPath = "${builtins.toString pkgs.path}/nixos/modules"; }; inherit (import ./constants.nix) targetMachines pathToRoot pathFromRoot ; }