mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
Merge pull request #173066 from primeos/nixos-tests-chromium
nixos/tests/chromium: Switch to nodes.machine (vs. deprecated machine…
This commit is contained in:
commit
041e295ce5
1 changed files with 8 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue