Skip to content

kedom1337/nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

❄️ nvim ❄️

Personal neovim configuration made with Nix and nixvim.

Build status

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. Adding as a NixOS Module

If you want to integrate the configuration into your NixOS system, you can add it as a flake input and then include it as a module.

Step 1: Add as a Flake Input

In your flake.nix, add your Neovim configuration repository as an input:

{
  inputs = {
    # ... other inputs ...
    neovim-config = {
      url = "github:kedom1337/nvim";
      # Optionally, specify a ref or branch if needed.
    };
  };

  outputs = { self, nixpkgs, neovim-config, ... }:
    {
      # your outputs configuration
    };
}

Step 2: Include the NixOS Module and Package

In your NixOS configuration (e.g., configuration.nix), import the module and add the package. Replace ${system} with your system identifier (e.g., x86_64-linux):

{ config, pkgs, ... }:

{
  environment.systemPackages = with pkgs; [
    neovim-config.nvim.packages.${system}.default
  ];

  # Additional configuration if required
}

With these steps, your system will use the Neovim configuration provided by your flake, and you can manage it directly through your NixOS configuration.

About

Personal neovim configuration made with Nix and nixvim.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages