From a585d947b58992e477e344cc2016b5e041ec096e Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Wed, 21 Feb 2024 05:07:58 +0300 Subject: [PATCH] Flatpak : Do not install in parallel. --- .config/linux/system/module/Flatpak.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/linux/system/module/Flatpak.nix b/.config/linux/system/module/Flatpak.nix index b6bf2f9..8088a87 100644 --- a/.config/linux/system/module/Flatpak.nix +++ b/.config/linux/system/module/Flatpak.nix @@ -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 {} ''; }; }