This is not necessary anymore. It's the job of Flatpak authors. All of them have these permissions by default nowadays, including Microsoft Edge.
33 lines
1.2 KiB
Plaintext
33 lines
1.2 KiB
Plaintext
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-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
|