From eccc73bdfa5f4d4617357a0f3be6e9f7e2492d58 Mon Sep 17 00:00:00 2001 From: iofq Date: Sun, 28 Jan 2024 20:36:53 -0600 Subject: [PATCH] Remove Dockerfile, add README --- Dockerfile | 22 ---------------------- README.md | 16 ++++++++++++++++ 2 files changed, 16 insertions(+), 22 deletions(-) delete mode 100644 Dockerfile create mode 100644 README.md diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index b75f29e..0000000 --- a/Dockerfile +++ /dev/null @@ -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 diff --git a/README.md b/README.md new file mode 100644 index 0000000..63c4ce8 --- /dev/null +++ b/README.md @@ -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.