mirror of
https://github.com/iofq/nvim.nix.git
synced 2026-01-23 00:45:17 -06:00
Remove Dockerfile, add README
This commit is contained in:
parent
a25de2a52f
commit
eccc73bdfa
2 changed files with 16 additions and 22 deletions
22
Dockerfile
22
Dockerfile
|
|
@ -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
16
README.md
Normal 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.
|
||||
Loading…
Add table
Add a link
Reference in a new issue