feat(nix): migrate Neovim to Nix (as a symlink)

This commit is contained in:
Stefan Imhoff
2024-07-31 10:51:38 +02:00
parent b4819e3187
commit 65baf19f82
134 changed files with 64 additions and 82 deletions

15
install
View File

@@ -1,15 +0,0 @@
#!/usr/bin/env bash
set -e
CONFIG=".dotbot.conf.yaml"
DOTBOT_DIR=".dotbot"
DOTBOT_BIN="bin/dotbot"
BASEDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd "${BASEDIR}"
git -C "${DOTBOT_DIR}" submodule sync --quiet --recursive
git submodule update --init --recursive "${DOTBOT_DIR}"
"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" -c "${CONFIG}" "${@}"