Flatpak : Add auto-install service.
This commit is contained in:
parent
676ae3e6e1
commit
6535477042
|
@ -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 {}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue