diff --git a/README.md b/README.md index 32db2c50..14fd398d 100644 --- a/README.md +++ b/README.md @@ -45,10 +45,12 @@ Bazzite is built from [ublue-os/main](https://github.com/ublue-os/main) and [ubl - Uses [Google's BBR TCP congestion control](https://github.com/google/bbr) by default. - [Input Remapper](https://github.com/sezanzeb/input-remapper) preinstalled and enabled. (Available but default-disabled on the Deck variant) - Bazzite Portal provides an easy way to install numerous applications and tweaks, including installing [CoreCtrl](https://gitlab.com/corectrl/corectrl) and [GreenWithEnvy](https://gitlab.com/leinardi/gwe). -- [Nix](https://nixos.org/) package manager and [Fleek](https://getfleek.dev/) optionally available for install via Bazzite Portal. +- [Nix](https://nixos.org/) package manager with [Fleek](https://getfleek.dev/) optionally available for install via Bazzite Portal. +- [Brew](https://brew.sh/) package manager optionally available for install via Bazzite Portal. - [Waydroid](https://waydro.id/) preinstalled for running Android apps. Future releases will offer to set this up for you through Bazzite Portal. (Not available on Nvidia builds) - [OpenRGB](https://gitlab.com/CalcProgrammer1/OpenRGB) i2c-piix4 and i2c-nct6775 drivers for controlling RGB on certain motherboards. - [OpenRazer](https://openrazer.github.io) drivers built in, Select OpenRazer in Bazzite Portal or run `just install-openrazer` in a terminal to begin using it. +- [OpenTabletDriver](https://opentabletdriver.net/) udev rules built in, with the full software suite installable via Bazzite Portal or by running `just install-opentabletdriver` in a terminal. - [GCAdapter_OC](https://github.com/hannesmann/gcadapter-oc-kmod) driver for overclocking Nintendo's Gamecube Controller Adapter to 1000hz polling. - Out of the box support for [Wooting](https://wooting.io/) keyboards. - Built in support for Southern Islands (HD 7000) and Sea Islands (HD 8000) AMD GPUs under the `amdgpu` driver. diff --git a/system_files/deck/shared/usr/share/ublue-os/firstboot/yafti.yml b/system_files/deck/shared/usr/share/ublue-os/firstboot/yafti.yml index c36c9ed5..08439d4b 100644 --- a/system_files/deck/shared/usr/share/ublue-os/firstboot/yafti.yml +++ b/system_files/deck/shared/usr/share/ublue-os/firstboot/yafti.yml @@ -65,7 +65,13 @@ screens: default: false packages: - Install Nix Package Support: sudo -A just --unstable install-nix - - Install Fleek: just --unstable install-fleek + - Install Fleek (Requires Nix): just --unstable install-fleek + Brew Package Manager: + description: The missing package manager for macOS (or Linux) + default: false + package: + - Install Brew: just --unstable install-brew + - Add Brew to shell: just --unstable install-brew-to-shell Oversteer: description: Application to control Logitech steering wheels default: false diff --git a/system_files/deck/shared/usr/share/ublue-os/just/60-custom.just b/system_files/deck/shared/usr/share/ublue-os/just/60-custom.just index fc57aebf..363f8d55 100644 --- a/system_files/deck/shared/usr/share/ublue-os/just/60-custom.just +++ b/system_files/deck/shared/usr/share/ublue-os/just/60-custom.just @@ -94,6 +94,33 @@ install-fleek-themes: echo "Install fleek with just install-fleek before running just install-fleek-themes." fi +# Install Homebrew for Linux +install-brew: + echo "Installing homebrew ..." + /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" + +# Add Homebrew to shell rc files +install-brew-to-shell: + #!/usr/bin/env bash + set -euxo pipefail + echo "Adding homebrew to shell configuration" + touch $HOME/.zprofile + touch $HOME/.bash_profile + if grep -q "linuxbrew" $HOME/.zprofile + then + echo "Brew configuration already present in .zprofile" + else + echo "Adding Brew configuration to .zprofile" + echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"' >> $HOME/.zprofile + fi + if grep -q "linuxbrew" $HOME/.bash_profile + then + echo "Brew configuration already present in .bash_profile" + else + echo "Adding Brew configuration to .bash_profile" + echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"' >> $HOME/.bash_profile + fi + # Install Greenlight xCloud and xHome streaming AppImage get-greenlight: #!/usr/bin/env bash diff --git a/system_files/desktop/shared/usr/share/ublue-os/firstboot/yafti.yml b/system_files/desktop/shared/usr/share/ublue-os/firstboot/yafti.yml index 7399a43d..49461dea 100644 --- a/system_files/desktop/shared/usr/share/ublue-os/firstboot/yafti.yml +++ b/system_files/desktop/shared/usr/share/ublue-os/firstboot/yafti.yml @@ -46,7 +46,13 @@ screens: default: false packages: - Install Nix Package Support: sudo -A just --unstable install-nix - - Install Fleek: just --unstable install-fleek + - Install Fleek (Requires Nix): just --unstable install-fleek + Brew Package Manager: + description: The missing package manager for macOS (or Linux) + default: false + package: + - Install Brew: just --unstable install-brew + - Add Brew to shell: just --unstable install-brew-to-shell OpenRazer: description: Enables additional capabilities for Razer Hardware default: false diff --git a/system_files/desktop/shared/usr/share/ublue-os/just/60-custom.just b/system_files/desktop/shared/usr/share/ublue-os/just/60-custom.just index 19110d35..e22d46ec 100644 --- a/system_files/desktop/shared/usr/share/ublue-os/just/60-custom.just +++ b/system_files/desktop/shared/usr/share/ublue-os/just/60-custom.just @@ -69,6 +69,33 @@ install-fleek-themes: echo "Install fleek with just install-fleek before running just install-fleek-themes." fi +# Install Homebrew for Linux +install-brew: + echo "Installing homebrew ..." + /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" + +# Add Homebrew to shell rc files +install-brew-to-shell: + #!/usr/bin/env bash + set -euxo pipefail + echo "Adding homebrew to shell configuration" + touch $HOME/.zprofile + touch $HOME/.bash_profile + if grep -q "linuxbrew" $HOME/.zprofile + then + echo "Brew configuration already present in .zprofile" + else + echo "Adding Brew configuration to .zprofile" + echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"' >> $HOME/.zprofile + fi + if grep -q "linuxbrew" $HOME/.bash_profile + then + echo "Brew configuration already present in .bash_profile" + else + echo "Adding Brew configuration to .bash_profile" + echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"' >> $HOME/.bash_profile + fi + # Install Greenlight xCloud and xHome streaming AppImage get-greenlight: #!/usr/bin/env bash