2020-04-24 23:36:52 +00:00
|
|
|
{ pkgs, makeInstalledTest, ... }:
|
|
|
|
|
|
|
|
makeInstalledTest {
|
|
|
|
tested = pkgs.flatpak;
|
|
|
|
withX11 = true;
|
|
|
|
|
|
|
|
testConfig = {
|
2020-08-20 17:08:02 +00:00
|
|
|
xdg.portal.enable = true;
|
2022-01-27 00:19:43 +00:00
|
|
|
xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
|
2024-01-02 11:29:13 +00:00
|
|
|
xdg.portal.config.common.default = "gtk";
|
2020-04-24 23:36:52 +00:00
|
|
|
services.flatpak.enable = true;
|
2020-08-20 17:08:02 +00:00
|
|
|
environment.systemPackages = with pkgs; [ gnupg ostree python3 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
virtualisation.memorySize = 2047;
|
2020-08-20 17:08:02 +00:00
|
|
|
virtualisation.diskSize = 3072;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-10-30 15:09:59 +00:00
|
|
|
testRunnerFlags = [ "--timeout" "3600" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
}
|