mirror of
https://github.com/optim-enterprises-bv/secureblue.git
synced 2025-11-08 06:15:21 +00:00
fix!: move justfile to standardized location
This commit is contained in:
73
usr/share/ublue-os/just/justfile
Normal file
73
usr/share/ublue-os/just/justfile
Normal file
@@ -0,0 +1,73 @@
|
||||
default:
|
||||
@just --list
|
||||
|
||||
bios:
|
||||
systemctl reboot --firmware-setup
|
||||
|
||||
changelogs:
|
||||
rpm-ostree db diff --changelogs
|
||||
|
||||
distrobox-boxkit:
|
||||
echo 'Creating Boxkit distrobox ...'
|
||||
distrobox create --image ghcr.io/ublue-os/boxkit -n boxkit -Y
|
||||
|
||||
distrobox-debian:
|
||||
echo 'Creating Debian distrobox ...'
|
||||
distrobox create --image quay.io/toolbx-images/debian-toolbox:unstable -n debian -Y
|
||||
|
||||
distrobox-opensuse:
|
||||
echo 'Creating openSUSE distrobox ...'
|
||||
distrobox create --image quay.io/toolbx-images/opensuse-toolbox:tumbleweed -n opensuse -Y
|
||||
|
||||
distrobox-ubuntu:
|
||||
echo 'Creating Ubuntu distrobox ...'
|
||||
distrobox create --image quay.io/toolbx-images/ubuntu-toolbox:22.04 -n ubuntu -Y
|
||||
|
||||
setup-flatpaks:
|
||||
#!/usr/bin/env bash
|
||||
echo 'Installing flatpaks from the ublue recipe ...'
|
||||
flatpaks=$(yq '.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
|
||||
|
||||
update:
|
||||
#!/usr/bin/env bash
|
||||
echo "Staging system update..."
|
||||
rpm-ostree update
|
||||
|
||||
echo "Updating Flatpaks..."
|
||||
flatpak update -y
|
||||
|
||||
echo "Updating Distroboxes..."
|
||||
distrobox upgrade -a
|
||||
Reference in New Issue
Block a user