This commit is contained in:
Menno van Leeuwen 2024-02-19 14:07:46 +01:00
parent 2e69ec2246
commit a4aba8311e
Signed by: vleeuwenmenno
SSH Key Fingerprint: SHA256:OJFmjANpakwD3F2Rsws4GLtbdz1TJ5tkQF0RZmF0TRE

View File

@ -5,6 +5,7 @@ help() {
echo "Usage: $0 [option...]" >&2 echo "Usage: $0 [option...]" >&2
echo echo
echo " -i, --install Run installation process" echo " -i, --install Run installation process"
echo " -c, --continue Install home-manager and switch to dotfiles flake"
echo " -h, --help Display this help message" echo " -h, --help Display this help message"
echo echo
exit 1 exit 1
@ -105,7 +106,7 @@ if [ "$1" == "-i" ] || [ "$1" == "--install" ]; then
clone_dotfiles clone_dotfiles
echo 'Nix and dotfiles are installed, running initial home-manager setup...' echo 'Nix and dotfiles are installed, running initial home-manager setup...'
bash -c ~/.dotfiles/setup.sh -c bash -c "~/.dotfiles/setup.sh -c"
elif [ "$1" == "-c" ] || [ "$1" == "--continue" ]; then elif [ "$1" == "-c" ] || [ "$1" == "--continue" ]; then
# Run initial home-manager setup # Run initial home-manager setup
home_manager_setup home_manager_setup