setup-flatpaks: #!/usr/bin/env bash echo 'Installing flatpaks from the ublue recipe ...' flatpaks=$(yq -- '.firstboot.flatpaks[]' "/usr/share/ublue-os/recipe.yml") for pkg in $flatpaks; do \ echo "Installing: ${pkg}" && \ flatpak install --user --noninteractive flathub $pkg; \ done setup-pwa: echo 'Giving browser permission to create PWAs (Progressive Web Apps)' # Add for your favorite chromium-based browser flatpak override --user --filesystem=~/.local/share/applications --filesystem=~/.local/share/icons com.microsoft.Edge setup-gaming: echo 'Setting up gaming experience ... lock and load.' flatpak install -y --user \\ com.discordapp.Discord \\ com.feaneron.Boatswain \\ org.freedesktop.Platform.VulkanLayer.MangoHud//22.08 \\ org.freedesktop.Platform.VulkanLayer.OBSVkCapture//22.08 \\ org.freedesktop.Platform.VulkanLayer.vkBasalt//22.08 \\ com.heroicgameslauncher.hgl \\ com.obsproject.Studio \\ com.obsproject.Studio.Plugin.OBSVkCapture \\ com.obsproject.Studio.Plugin.Gstreamer \\ com.usebottles.bottles \\ com.valvesoftware.Steam \\ com.valvesoftware.Steam.Utility.gamescope \\ net.davidotek.pupgui2 flatpak override com.usebottles.bottles --user --filesystem=xdg-data/applications flatpak override --user --env=MANGOHUD=1 com.valvesoftware.Steam flatpak override --user --env=MANGOHUD=1 com.heroicgameslauncher.hgl nix-me-up: echo 'Setting phasers to kill. Installing nix.' /usr/bin/ublue-nix-install