summary refs log tree commit diff
path: root/nixos/tests/installed-tests/flatpak.nix
blob: c7fe9cf4588222c88a90a542c2c94954420b1025 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{ pkgs, makeInstalledTest, ... }:

makeInstalledTest {
  tested = pkgs.flatpak;
  withX11 = true;

  testConfig = {
    xdg.portal.enable = true;
    xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
    services.flatpak.enable = true;
    environment.systemPackages = with pkgs; [ gnupg ostree python3 ];
    virtualisation.memorySize = 2047;
    virtualisation.diskSize = 3072;
  };

  testRunnerFlags = "--timeout 3600";
}