Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yash-garg/neovim

My customized version of Neovim, built with Nix.
https://github.com/yash-garg/neovim

neovim nix nix-flake nixvim

Last synced: about 20 hours ago
JSON representation

My customized version of Neovim, built with Nix.

Awesome Lists containing this project

README

        

# Neovim

[![FlakeHub](https://img.shields.io/endpoint?url=https://flakehub.com/f/Yash-Garg/neovim/badge)](https://flakehub.com/flake/Yash-Garg/neovim) [![Nix](https://img.shields.io/badge/Nix-5277C3.svg?&logo=NixOS&logoColor=white)](#)

Customized Neovim configuration ready to be used with Nix.

![Neovim Preview](https://yashgarg.dev/uses/neovim.png)

## Try Without Installing

You can try this configuration out without committing to installing it on your system by running
the following command.

```nix
nix run github:yash-garg/neovim
```

## Install

### Nix Profile

You can install this package imperatively with the following command.

```nix
nix profile install github:yash-garg/neovim
```

### Nix Configuration

You can install this package by adding it as an input to your Nix flake.

```nix
{
description = "My system flake";

inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";

# Snowfall is not required, but will make configuration easier for you.
snowfall-lib = {
url = "github:snowfallorg/lib";
inputs.nixpkgs.follows = "nixpkgs";
};

neovim = {
url = "github:yash-garg/neovim";
# You can also use the flakehub source
url = "https://flakehub.com/f/Yash-Garg/neovim/*.tar.gz";
# This flake currently requires changes that are only on the Unstable channel.
inputs.nixpkgs.follows = "nixpkgs";
};
};

outputs =
inputs:
inputs.snowfall-lib.mkFlake {
inherit inputs;
src = ./.;

overlays = with inputs; [
# Use the overlay provided by this flake.
neovim.overlays.default

# There is also a named overlay, though the output is the same.
neovim.overlays."package/neovim"
];
};
}
```

If you've added the overlay from this flake, then in your system configuration
you can add the `dots.neovim` package.

```nix
{ pkgs }:
{
environment.systemPackages = [ pkgs.dots.neovim ];
}
```