Merge branch 'main' into wallpapers

This commit is contained in:
Tulili 2023-06-30 01:31:49 -03:00 committed by GitHub
commit 4a8f1ba9fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 126 additions and 0 deletions

View file

@ -0,0 +1 @@
XDG_DATA_DIRS="$HOME/.nix-profile/share:/nix/var/nix/profiles/default/share:$XDG_DATA_DIRS"

View file

@ -0,0 +1,10 @@
[Unit]
Description=Update the dconf database onboot
Documentation=https://github.com/coreos/rpm-ostree/issues/1944
[Service]
Type=oneshot
ExecStart=/usr/bin/dconf update
[Install]
WantedBy=multi-user.target

0
usr/share/fonts/.gitkeep Normal file
View file

View file

@ -0,0 +1,4 @@
!include /usr/share/ublue-os/just/bling/distrobox.just
!include /usr/share/ublue-os/just/bling/gaming.just
!include /usr/share/ublue-os/just/bling/nix.just
!include /usr/share/ublue-os/just/bling/shells.just

View file

@ -0,0 +1,38 @@
default: distrobox-boxkit
update-distrobox-git:
echo 'Installing latest git snapshot of Distrobox'
curl -s https://raw.githubusercontent.com/89luca89/distrobox/main/install | sh -s -- --next --prefix ~/.local
[private]
create-distrobox PRETTY_NAME IMAGE_TAG CONTAINER_NAME:
echo "Creating {{PRETTY_NAME}} distrobox..."
distrobox create -i quay.io/toolbx-images/{{IMAGE_TAG}} -n {{CONTAINER_NAME}} -Y
distrobox-almalinux: (create-distrobox "Alma Linux" "almalinux-toolbox:latest" "alma")
distrobox-alpine: (create-distrobox "Alpine" "alpine-toolbox:edge" "alpine")
distrobox-archlinux: (create-distrobox "Arch Linux" "archlinux-toolbox:latest" "arch")
distrobox-centos: (create-distrobox "Centos Stream" "centos-toolbox:stream9" "centos")
distrobox-rocky: (create-distrobox "Rocky Linux" "rockylinux-toolbox:latest" "rocky")
distrobox-debian: (create-distrobox "Debian" "debian-toolbox:unstable" "debian")
distrobox-opensuse: (create-distrobox "openSUSE" "opensuse-toolbox:tumbleweed" "opensuse")
distrobox-ubuntu: (create-distrobox "Ubuntu" "ubuntu-toolbox" "ubuntu")
distrobox-boxkit:
echo 'Creating Boxkit distrobox...'
distrobox create -i ghcr.io/ublue-os/boxkit -n boxkit -Y
distrobox-gamebox:
echo 'Creating Arch-based Gaming distrobox...'
distrobox create -i ghcr.io/ublue-os/bazzite-arch -n bazzite-arch -Y
distrobox-bluefin:
echo 'Creating Bluefin Ubuntu distrobox...'
distrobox create -i ghcr.io/ublue-os/ubuntu-toolbox:latest -n bluefin-ubuntu -Y

View file

@ -0,0 +1,28 @@
setup-gaming:
echo 'Setting up gaming experience ... lock and load.'
distrobox create -i ghcr.io/ublue-os/bazzite-arch gamebox
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
emudeck:
wget -O "$HOME/Desktop/emudeck.desktop" "https://www.emudeck.com/EmuDeck.desktop"
chmod +x "$HOME/Desktop/emudeck.desktop"
kioclient exec "$HOME/Desktop/emudeck.desktop"
deckyloader:
curl -L https://github.com/SteamDeckHomebrew/decky-installer/releases/latest/download/install_release.sh | sh

View file

@ -0,0 +1,43 @@
# run the ublue nix installer by dnkmmr
nix-me-up:
ublue-nix-install
# run the ublue nix uninstaller by dnkmmr
nix-me-down:
ublue-nix-uninstall
# enable flakes and install fleek
fleek-me-up:
#!/bin/sh
if grep -q "experimental-features = nix-command flakes" ~/.config/nix/nix.conf; then
echo "Flakes enabled, all good!"
else
echo "Fleek requires Nix flakes to be enabled."
read -p "Do you want to automatically enable flakes in ~/.config/nix/nix.conf? (y/n)? " choice
if [[ $choice =~ ^[Yy]$ ]]; then
mkdir -p ~/.config/nix
echo "experimental-features = nix-command flakes" >> ~/.config/nix/nix.conf
echo "Flakes enabled."
else
echo "Ok, quitting..."
exit 0
fi
fi
echo "Running fleek installer..."
curl -fsSL https://getfleek.dev/installer | bash
# install devbox
devbox:
echo 'Setting phasers to kill. Installing nix.'
ublue-nix-install
echo 'Installing devbox!'
curl -fsSL https://get.jetpack.io/devbox | bash
echo 'You MUST reboot to continue'
# install global devbox profile with fleek's high bling setting
devbox-global:
echo 'Installing devbox global profile.'
devbox global pull https://devbox.getfleek.dev/high
echo 'run "devbox global run install-bash-hook" to configure bash shell'
echo 'run "devbox global run install-zsh-hook" to configure zsh shell'
echo 'run "devbox global run" to see other available configuration commands'

View file

@ -0,0 +1,2 @@
change-root-shell:
sudo lchsh -i