aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/nixos/tests/installed-tests/flatpak.nix
blob: 8aeeaca90f614f5dcd0cd45aa891c1e47827b9e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{ pkgs, makeInstalledTest, ... }:

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

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

  testRunnerFlags = "--timeout 3600";
}