New version of ,nixup that works to bootstrap

This commit is contained in:
2025-10-05 17:05:23 -07:00
parent 71d134f1ea
commit ca58e6726c

View File

@@ -3,7 +3,9 @@
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
pushd $SCRIPT_DIR/../nix &> /dev/null pushd $SCRIPT_DIR/../nix &> /dev/null
home-manager switch --flake ".#std"
if which doom; then if which home-manager &> /dev/null; then
doom env home-manager switch --flake ".#std"
else
nix run home-manager/master -- switch --flake ".#std"
fi fi