2019-11-06 00:56:21 +00:00
|
|
|
{ pkgs, makeInstalledTest, ... }:
|
|
|
|
|
|
|
|
makeInstalledTest {
|
|
|
|
tested = pkgs.flatpak;
|
|
|
|
withX11 = true;
|
|
|
|
|
|
|
|
testConfig = {
|
|
|
|
services.xserver.desktopManager.gnome3.enable = true; # TODO: figure out minimal environment where the tests work
|
|
|
|
# common/x11.nix enables the auto display manager (lightdm)
|
|
|
|
services.xserver.displayManager.gdm.enable = false;
|
2019-11-06 03:04:56 +00:00
|
|
|
services.gnome3.core-utilities.enable = false;
|
2019-11-06 00:56:21 +00:00
|
|
|
services.flatpak.enable = true;
|
2020-07-24 15:32:34 +01:00
|
|
|
environment.systemPackages = with pkgs; [ gnupg ostree python3 ];
|
2019-11-06 00:56:21 +00:00
|
|
|
virtualisation.memorySize = 2047;
|
2020-07-24 15:32:34 +01:00
|
|
|
virtualisation.diskSize = 3072;
|
2019-11-06 00:56:21 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
testRunnerFlags = "--timeout 3600";
|
|
|
|
}
|