mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00: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.
17 lines
372 B
Nix
17 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";
|
|
}
|