chore: Switch to upstream nix scripts in ublue-os/config

This commit is contained in:
Kyle Gospodnetich 2023-11-26 16:01:19 -08:00
parent 6df03b50d1
commit 6cf04a7f15
4 changed files with 4 additions and 78 deletions

View File

@ -75,8 +75,8 @@ screens:
description: Nix is a powerful package manager for Linux and other Unix systems that makes package management reliable and reproducible
default: false
packages:
- Install Nix Package Support: sudo -A ujust install-nix
- Install Fleek (Requires Nix): ujust install-fleek
- Install Nix Package Support: sudo -A ujust nix-install
- Install Fleek (Requires Nix): ujust fleek-install
Oversteer:
description: Application to control supported steering wheels
default: false

View File

@ -86,43 +86,6 @@ install-openrazer:
sudo usermod -a -G plugdev $USER && \
echo "Please reboot to apply needed changes."
# Install Nix with the Determinate Nix Installer
install-nix:
#!/usr/bin/env bash
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sudo bash -s -- install --no-confirm
# Uninstall Nix
remove-nix:
sudo /nix/nix-installer uninstall
# Install Fleek (https://getfleek.dev/)
install-fleek:
#!/usr/bin/env bash
if [[ -d "/nix" ]]; then
mkdir -p $HOME/.config/nix
echo "experimental-features = nix-command flakes" >> $HOME/.config/nix/nix.conf
curl -fsSL https://getfleek.dev/installer | env FORCE=1 bash
else
echo "Install nix with ujust install-nix before running ujust install-fleek."
fi
# Integrate Nix/Fleek applications with system theme
install-fleek-themes:
#!/usr/bin/env bash
if [[ -x "/var/usrlocal/bin/fleek" ]]; then
IMAGE_INFO="/usr/share/ublue-os/image-info.json"
BASE_IMAGE_NAME=$(jq -r '."base-image-name"' < $IMAGE_INFO)
if [[ ${BASE_IMAGE_NAME} == 'silverblue' ]]; then
fleek add adw-gtk3 --apply
else
fleek add breeze-icons
fleek add libsForQt5.breeze-qt5
fleek apply
fi
else
echo "Install fleek with ujust install-fleek before running ujust install-fleek-themes."
fi
# Install Greenlight xCloud and xHome streaming AppImage
get-greenlight:
#!/usr/bin/env bash

View File

@ -37,8 +37,8 @@ screens:
description: Nix is a powerful package manager for Linux and other Unix systems that makes package management reliable and reproducible
default: false
packages:
- Install Nix Package Support: sudo -A ujust install-nix
- Install Fleek (Requires Nix): ujust install-fleek
- Install Nix Package Support: sudo -A ujust nix-install
- Install Fleek (Requires Nix): ujust fleek-install
OpenRazer:
description: Enables additional capabilities for Razer Hardware
default: false

View File

@ -63,43 +63,6 @@ install-openrazer:
sudo usermod -a -G plugdev $USER && \
echo "Please reboot to apply needed changes."
# Install Nix with the Determinate Nix Installer
install-nix:
#!/usr/bin/env bash
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sudo bash -s -- install --no-confirm
# Uninstall Nix
remove-nix:
sudo /nix/nix-installer uninstall
# Install Fleek (https://getfleek.dev/)
install-fleek:
#!/usr/bin/env bash
if [[ -d "/nix" ]]; then
mkdir -p $HOME/.config/nix
echo "experimental-features = nix-command flakes" >> $HOME/.config/nix/nix.conf
curl -fsSL https://getfleek.dev/installer | env FORCE=1 bash
else
echo "Install nix with ujust install-nix before running ujust install-fleek."
fi
# Integrate Nix/Fleek applications with system theme
install-fleek-themes:
#!/usr/bin/env bash
if [[ -x "/var/usrlocal/bin/fleek" ]]; then
IMAGE_INFO="/usr/share/ublue-os/image-info.json"
BASE_IMAGE_NAME=$(jq -r '."base-image-name"' < $IMAGE_INFO)
if [[ ${BASE_IMAGE_NAME} == 'silverblue' ]]; then
fleek add adw-gtk3 --apply
else
fleek add breeze-icons
fleek add libsForQt5.breeze-qt5
fleek apply
fi
else
echo "Install fleek with ujust install-fleek before running ujust install-fleek-themes."
fi
# Install Greenlight xCloud and xHome streaming AppImage
get-greenlight:
#!/usr/bin/env bash