Skip to content

Latest commit

 

History

202 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

❄️ nvim ❄️

Personal neovim configuration made with Nix and nixvim.

Check

Usage

1. Running the Configuration

To quickly run your Neovim configuration with nix, simply execute:

nix run .

This command builds and launches your configuration based on the default package setup.

2. Installing It on NixOS

Step 1: Add as a Flake Input

In your flake.nix, add this repository as an input and pass the inputs down to your system configuration:

{
  inputs = {
    # ... other inputs ...
    neovim-config.url = "github:k3dom/nvim";
  };

  outputs = {nixpkgs, ...} @ inputs: {
    nixosConfigurations.myhost = nixpkgs.lib.nixosSystem {
      specialArgs = {inherit inputs;};
      modules = [./configuration.nix];
    };
  };
}

Step 2: Add the Package

The flake exposes a single package, so add it to your system (or Home Manager) packages:

{
  pkgs,
  inputs,
  ...
}: {
  environment.systemPackages = [
    inputs.neovim-config.packages.${pkgs.stdenv.hostPlatform.system}.default
  ];
}

The package provides nvim along with the vi and vim aliases.

About

Personal neovim configuration made with Nix and nixvim.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages