Flatpak : Add auto-install service.

This commit is contained in:
Dmitry Voronin 2024-02-21 03:21:02 +03:00
parent 676ae3e6e1
commit 6535477042

View file

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