Skip to content

drxxmy/neovim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neovim Flake ❄️

Showcase

Getting started

Run without installation

To test configuration without installing it, run the following command:

nix run github:drxxmy/neovim

NixOS

{
  inputs = {
    neovim.url = "github:drxxmy/neovim";
  };

  outputs = {neovim, ...}: let
    system = "x86_64-linux";
  in {
    # Example nixosConfiguration using the configured Neovim package
    nixosConfigurations = {
      yourHostName = nixpkgs.lib.nixosSystem {
        # ...
        modules = [
          # This will make custom neovim available in your system packages
          ({pkgs, ...}: {
            environment.systemPackages = [neovim.packages.${system}.neovim];
          })
        ];
        # ...
      };
    };
  };
}

Home-Manager

{
  inputs = {
    home-manager.url = "github:nix-community/home-manager";
    neovim.url = "github:drxxmy/neovim";
  };

  outputs = {home-manager, neovim, ...}: let
    system = "x86_64-linux";
  in {
    # Example Home-Manager configuration using the configured Neovim package
    homeConfigurations = {
      "user@host" = home-manager.lib.homeManagerConfiguration {
        # ...
        modules = [
          # This will make Neovim available to users using the Home-Manager configuration.
          {home.packages = [neovim.packages.${system}.neovim];}
        ];
        # ...
      };
    };
  };
}

About

❄️ Neovim flake based on mnw

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages