Merge pull request #173066 from primeos/nixos-tests-chromium

nixos/tests/chromium: Switch to nodes.machine (vs. deprecated machine…
This commit is contained in:
Michael Weiss 2022-05-15 00:38:43 +02:00 committed by GitHub
commit 041e295ce5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -45,12 +45,14 @@ mapAttrs (channel: chromiumPkg: makeTest {
enableOCR = true;
machine.imports = [ ./common/user-account.nix ./common/x11.nix ];
machine.virtualisation.memorySize = 2047;
machine.test-support.displayManager.auto.user = user;
machine.environment = {
systemPackages = [ chromiumPkg ];
variables."XAUTHORITY" = "/home/alice/.Xauthority";
nodes.machine = { ... }: {
imports = [ ./common/user-account.nix ./common/x11.nix ];
virtualisation.memorySize = 2047;
test-support.displayManager.auto.user = user;
environment = {
systemPackages = [ chromiumPkg ];
variables."XAUTHORITY" = "/home/alice/.Xauthority";
};
};
testScript = let