Skip to content

Commit

Permalink
fix: remove nix shortcuts (#925)
Browse files Browse the repository at this point in the history
  • Loading branch information
castrojo authored Feb 23, 2024
1 parent f151cf1 commit 582fb1c
Showing 1 changed file with 0 additions and 50 deletions.
50 changes: 0 additions & 50 deletions just/custom.just
Original file line number Diff line number Diff line change
Expand Up @@ -124,30 +124,6 @@ jetbrains-toolbox:
echo "Launching JetBrains Toolbox"
./jetbrains-toolbox-"${BUILD_VERSION}"/jetbrains-toolbox

# Install garden.io, the Cloud Native DevOps automation platform | https://garden.io
garden:
#!/usr/bin/env bash
if ! command -v garden &> /dev/null; then
ASSET_URL=$(curl -s https://api.github.com/repos/garden-io/garden/releases/latest | \
jq -r '.assets[] | select(.browser_download_url | test("linux-amd64.tar.gz$")) | .browser_download_url')
GARDEN_DIR="${HOME}/.garden/bin"
TMP_DIR=$(mktemp -d)
curl -sSL "$ASSET_URL" | tar -xz -C "$TMP_DIR"
mkdir -p "$GARDEN_DIR"
mv "$TMP_DIR"/linux-amd64/garden "$GARDEN_DIR"
rm -rf "$TMP_DIR"

echo ""
echo "🌺🌻 Garden has been successfully installed 🌷💐"
echo ""
echo "Add the Garden CLI to your path by adding the following to your .bashrc/.zshrc:"
echo ""
echo " export PATH=\$PATH:\$HOME/.garden/bin"
echo ""
echo "Head over to our documentation for next steps: https://docs.garden.io"
echo ""
fi

# Install and configure Incus
incus:
#!/usr/bin/env bash
Expand All @@ -163,27 +139,6 @@ incus:
exit
fi

# Install nix and Devbox
nix-devbox:
echo 'Setting phasers to kill. Installing nix.'
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
echo 'Installing devbox!'
curl -fsSL https://get.jetpack.io/devbox | bash
echo 'You MUST reboot to continue'

# Remove nix
nix-remove:
echo 'Setting phasers to stun. Removing nix.'
/nix/nix-installer uninstall

# Install nix and Devbox (Global Profile)
nix-devbox-global:
echo 'Installing devbox global profile.'
devbox global pull https://devbox.getfleek.dev/high
echo 'run "devbox global run install-hook-bash" to configure bash shell'
echo 'run "devbox global run install-hook-zsh" to configure zsh shell'
echo 'run "devbox global run" to see other available configuration commands'

# Ptyxis terminal transparency
ptyxis-transparency opacity="0.95":
#!/usr/bin/env bash
Expand Down Expand Up @@ -222,11 +177,6 @@ touch:
gext install improvedosk@nick-shmyrev.dev
gext install gestureImprovements@gestures

# Upgrade Distrobox to the latest git version
distrobox-git:
echo 'Installing latest git snapshot of Distrobox'
curl -s https://raw.githubusercontent.com/89luca89/distrobox/main/install | sh -s -- --next --prefix ~/.local

# Run the yafti setup tool
yafti:
yafti /etc/yafti.yml --force
Expand Down

0 comments on commit 582fb1c

Please sign in to comment.