feat: switch to lazyvim

This commit is contained in:
Job
2024-09-23 19:56:52 +02:00
parent 17e3a6840f
commit 5e3d7ca7fb
8 changed files with 34 additions and 26 deletions

View File

@@ -1,7 +1,10 @@
FROM docker.io/fedora:41
# === setup system ===
RUN dnf -y install neovim zoxide unzip git go procps bash-completion
ENV TZ="Europe/Amsterdam"
RUN dnf -y install neovim unzip \
bash-completion zoxide fd-find procps \
git go npm
# === setup container user ===
RUN useradd -ms /bin/bash user && usermod -aG wheel user && sed -i '/NOPASSWD/s/^#//g' /etc/sudoers
@@ -10,6 +13,6 @@ WORKDIR /home/user
COPY config/user/bashrc /home/user/.bashrc
# === setup neovim ===
RUN git clone --depth 1 https://github.com/AstroNvim/template ~/.config/nvim
COPY config/nvim/lua/community.lua /home/user/.config/nvim/lua/community.lua
COPY config/nvim/lua/polish.lua /home/user/.config/nvim/lua/polish.lua
RUN git clone --depth 1 https://github.com/LazyVim/starter ~/.config/nvim
COPY config/nvim/plugins /home/user/.config/nvim/lua/plugins
COPY config/nvim/config/options.lua /home/user/.config/nvim/config/lua/options.lua