mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-04-17 11:43:41 +00:00
fix(install-fleek): Ensure $HOME gets set properly
This commit is contained in:
parent
217a43251a
commit
95b75da30d
@ -64,6 +64,7 @@ remove-nix:
|
|||||||
|
|
||||||
install-fleek:
|
install-fleek:
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
export HOME=$(getent passwd ${SUDO_USER:-$USER} | cut -d: -f6)
|
||||||
mkdir -p $HOME/.config/nix
|
mkdir -p $HOME/.config/nix
|
||||||
echo "experimental-features = nix-command flakes" >> $HOME/.config/nix/nix.conf
|
echo "experimental-features = nix-command flakes" >> $HOME/.config/nix/nix.conf
|
||||||
curl -fsSL https://getfleek.dev/installer | sudo env FORCE=1 bash
|
curl -fsSL https://getfleek.dev/installer | sudo env FORCE=1 bash
|
||||||
|
@ -50,6 +50,7 @@ remove-nix:
|
|||||||
|
|
||||||
install-fleek:
|
install-fleek:
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
export HOME=$(getent passwd ${SUDO_USER:-$USER} | cut -d: -f6)
|
||||||
mkdir -p $HOME/.config/nix
|
mkdir -p $HOME/.config/nix
|
||||||
echo "experimental-features = nix-command flakes" >> $HOME/.config/nix/nix.conf
|
echo "experimental-features = nix-command flakes" >> $HOME/.config/nix/nix.conf
|
||||||
curl -fsSL https://getfleek.dev/installer | sudo env FORCE=1 bash
|
curl -fsSL https://getfleek.dev/installer | sudo env FORCE=1 bash
|
||||||
|
Loading…
x
Reference in New Issue
Block a user