Compare commits

..

6 Commits

Author SHA1 Message Date
Pallav Vasa
44b1e63a1b feat(buildah): add package buildah 2025-05-15 20:03:39 +00:00
Pallav Vasa
bc0dbe12c6 chore(git): remove .gitmodules 2025-05-15 20:02:32 +00:00
Pallav Vasa
a2cb37339c feat(buildah): remove headless lazyvim sync 2025-05-15 20:02:08 +00:00
Pallav Vasa
50166b54a8 Revert "feat(nvim): do not install missing plugins in headless mode"
This reverts commit 7f2534a1fd.
2025-05-15 19:56:46 +00:00
Pallav Vasa
b9ba8768b1 feat(nvim): run neovim with correct folder placement 2025-05-15 19:56:27 +00:00
Pallav Vasa
010a4ff2a8 chore(git): ignore /home/.local and /home/.cache folders 2025-05-15 19:55:46 +00:00
5 changed files with 7 additions and 8 deletions

3
.gitignore vendored
View File

@@ -1,4 +1,5 @@
local
logs
files/pallav
home/.config/nvim/lazy-lock.json
home/.local
home/.cache

0
.gitmodules vendored
View File

View File

@@ -13,7 +13,7 @@ ctr=$(buildah from archlinux)
buildah run "$ctr" -- bash -c "\
pacman -Sy --noconfirm && pacman -S --noconfirm --needed base-devel neovim git fish tmux \
nodejs python podman fzf fd ripgrep jdk-openjdk fisher yazi less \
nodejs python podman fzf fd ripgrep jdk-openjdk fisher yazi less buildah \
lazygit luarocks python-pynvim npm bash-completion tree-sitter-cli kitty-terminfo \
lua51 openssh && pacman -Scc --noconfirm && groupadd secproc && groupadd -g $DEV_GID $DEV_USER && \
useradd -ms /bin/fish -G secproc -u $DEV_UID -g $DEV_GID $DEV_USER && mkdir -m 511 -p $SECURE
@@ -37,7 +37,6 @@ buildah run --user "$DEV_USER" "$ctr" -- fish -c '
jorgebucaran/autopair.fish \
gazorby/fish-abbreviation-tips \
jethrokuan/z;
for i in 1 2 3; nvim --headless "+Lazy! sync" +qa; sleep 1; end
'
# lock the files

View File

@@ -1,4 +1,3 @@
local is_headless = #vim.api.nvim_list_uis() == 0
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not (vim.uv or vim.loop).fs_stat(lazypath) then
local lazyrepo = "https://github.com/folke/lazy.nvim.git"
@@ -31,7 +30,7 @@ require("lazy").setup({
version = false, -- always use the latest git commit
-- version = "*", -- try installing the latest stable version for plugins that support semver
},
install = { missing = not is_headless, colorscheme = { "tokyonight", "habamax" } },
install = { missing = true, colorscheme = { "tokyonight", "habamax" } },
checker = {
enabled = false, -- check for plugin updates periodically
notify = false, -- notify on update

View File

@@ -1,7 +1,7 @@
#!/bin/bash
XDG_CONFIG_HOME="$PWD/home/.config" \
XDG_DATA_HOME="$PWD/local/share" \
XDG_STATE_HOME="$PWD/local/state" \
XDG_CACHE_HOME="$PWD/local/cache" \
XDG_DATA_HOME="$PWD/home/.local/share" \
XDG_STATE_HOME="$PWD/home/.local/state" \
XDG_CACHE_HOME="$PWD/home/.cache" \
nvim