Flatpak : Update bootstrap.

This commit is contained in:
Dmitry Voronin 2024-02-20 21:42:20 +03:00
parent 7703de1e11
commit 8f551f6213

View file

@ -1,4 +1,4 @@
{ ... }: let { pkgs, ... }: let
list = "~/.config/linux/Flatpak.txt"; list = "~/.config/linux/Flatpak.txt";
in { in {
# Enable Flatpaks. # Enable Flatpaks.
@ -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) # for app in $(cat ${list} | cut -f2)
''; '';
}; };
} }