2020-04-24 23:36:52 +00:00
|
|
|
{ pkgs, makeInstalledTest, ... }:
|
|
|
|
|
|
|
|
makeInstalledTest {
|
|
|
|
tested = pkgs.flatpak-builder;
|
|
|
|
|
|
|
|
testConfig = {
|
|
|
|
services.flatpak.enable = true;
|
2024-07-27 06:49:29 +00:00
|
|
|
xdg.portal = {
|
|
|
|
enable = true;
|
|
|
|
extraPortals = with pkgs; [ xdg-desktop-portal-gtk ];
|
|
|
|
config.common.default = "gtk";
|
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
environment.systemPackages = with pkgs; [ flatpak-builder ] ++ flatpak-builder.installedTestsDependencies;
|
|
|
|
virtualisation.diskSize = 2048;
|
|
|
|
};
|
|
|
|
|
2022-10-30 15:09:59 +00:00
|
|
|
testRunnerFlags = [ "--timeout" "3600" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
}
|