nixpkgs/nixos/tests/installed-tests/flatpak.nix
2023-12-11 23:58:03 +08:00

18 lines
487 B
Nix

{ pkgs, makeInstalledTest, ... }:
makeInstalledTest {
tested = pkgs.flatpak;
withX11 = true;
testConfig = {
xdg.portal.enable = true;
xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
xdg.portal.config.common.default = "gtk";
services.flatpak.enable = true;
environment.systemPackages = with pkgs; [ gnupg ostree python3 ];
virtualisation.memorySize = 2047;
virtualisation.diskSize = 3072;
};
testRunnerFlags = [ "--timeout" "3600" ];
}