fix(install-fleek): Ensure $HOME gets set properly

This commit is contained in:
RJ Trujillo 2023-08-31 17:56:50 -06:00
parent 217a43251a
commit 95b75da30d
2 changed files with 2 additions and 0 deletions

View File

@ -64,6 +64,7 @@ remove-nix:
install-fleek:
#!/usr/bin/env bash
export HOME=$(getent passwd ${SUDO_USER:-$USER} | cut -d: -f6)
mkdir -p $HOME/.config/nix
echo "experimental-features = nix-command flakes" >> $HOME/.config/nix/nix.conf
curl -fsSL https://getfleek.dev/installer | sudo env FORCE=1 bash

View File

@ -50,6 +50,7 @@ remove-nix:
install-fleek:
#!/usr/bin/env bash
export HOME=$(getent passwd ${SUDO_USER:-$USER} | cut -d: -f6)
mkdir -p $HOME/.config/nix
echo "experimental-features = nix-command flakes" >> $HOME/.config/nix/nix.conf
curl -fsSL https://getfleek.dev/installer | sudo env FORCE=1 bash