fix: Make sure nix is installed first in fleek install script

This commit is contained in:
Kyle Gospodnetich 2023-09-02 08:35:55 -07:00
parent 924beadf49
commit c4e0c997b5

View File

@ -54,9 +54,13 @@ remove-nix:
install-fleek:
#!/usr/bin/env bash
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
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 just install-nix before running just install-fleek."
fi
fleek-install-themes:
#!/usr/bin/env bash