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