Bootstrap : Remove flatpak as it is now a systemd service.

This commit is contained in:
Dmitry Voronin 2024-02-21 03:25:13 +03:00
parent 6535477042
commit 9ec44c84e5

View file

@ -27,22 +27,6 @@ trim_trailing_whitespace = true
" > .editorconfig " > .editorconfig
} }
# Setup all the flatpak apps on the machine.
function bootstrap_flatpak() {
# Add Flathub repo.
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
# Reinstall apps.
local IFS=$'\n'
local targets="$(cat ~/.config/linux/Flatpak.txt | cut -f2)"
process() {
flatpak install -y --system "${target}"
}
_iterate_targets process ${targets[@]}
}
# Install nixos to specified drive. To be run from Live ISO. # Install nixos to specified drive. To be run from Live ISO.
# Usage: bootstrap_nixos <DRIVE> [HOST] # Usage: bootstrap_nixos <DRIVE> [HOST]
function bootstrap_nixos() { function bootstrap_nixos() {