mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
379038b4dc
GNOME is not necessary. Portals probably are not either, but the NixOS module requires them. Not sure why it did not work without GNOME before.
16 lines
372 B
Nix
16 lines
372 B
Nix
{ 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";
|
|
}
|