Flatpak : Do not install in parallel.

This commit is contained in:
Dmitry Voronin 2024-02-21 05:07:58 +03:00
parent 161ad13067
commit a585d947b5

View file

@ -13,7 +13,7 @@ in {
serviceConfig.Type = "oneshot";
script = ''
${pkgs.flatpak}/bin/flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
cat ${list} | cut -f2 | ${pkgs.parallel}/bin/parallel -- ${pkgs.flatpak}/bin/flatpak install -y --system {}
cat ${list} | cut -f2 | ${pkgs.parallel}/bin/parallel -j1 -- ${pkgs.flatpak}/bin/flatpak install -y --system {}
'';
};
}