Merge pull request #4 from iofq/update_flake_lock_action

Remove Dockerfile, add README
This commit is contained in:
iofq 2024-01-29 02:50:21 +00:00 committed by GitHub
commit 99bcdec396
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 16 additions and 22 deletions

View file

@ -1,22 +0,0 @@
FROM nixos/nix as build
WORKDIR /app
COPY . .
RUN mkdir -p /out && \
nix bundle \
-o nvim.AppImage \
--bundler github:ralismark/nix-appimage \
--extra-experimental-features nix-command \
--extra-experimental-features flakes .#full && \
mv $(realpath nvim.AppImage) /out/neovim-x86_64-linux.AppImage && \
nix bundle \
-o nvim-minimal.AppImage \
--bundler github:ralismark/nix-appimage \
--extra-experimental-features nix-command \
--extra-experimental-features flakes .#minimal && \
mv $(realpath nvim-minimal.AppImage) /out/neovim-x86_64-linux-minimal.AppImage
FROM busybox
WORKDIR /out
COPY --from=build /out /out

16
README.md Normal file
View file

@ -0,0 +1,16 @@
## nvim.nix - personal Neovim config that runs on nixOS but doesn't sacrifice portability
## Usage
```bash
nix run "github:iofq/nvim.nix" #full
```
Or, grab an AppImage from the Releases page.
## What the hell?
This is a flake to build a Neovim package that includes my custom Lua config and dependencies. It then is bundled via CI into an AppImage.
## Why the hell though?
I use these AppImages because I develop in a number of airgapped environments that make traditional dotfile management a nightmare. Downloading a single AppImage and copying it around is a more suckless way of managing this.