Skip to content

NuschtOS/nvim.nix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nvim.nix

Usage

# flake.nix
inputs = {
  home-manager = {
    url = "github:nix-community/home-manager/release-24.05";
    inputs.nixpkgs.follows = "nixpkgs";
  };
  nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
  nixvim = {
    url = "github:nix-community/nixvim/nixos-24.05";
    inputs.nixpkgs.follows = "nixpkgs";
  };

  nvim = {
    url = "github:NuschtOS/nvim.nix";
    inputs.home-manager.follows = "home-manager";
    inputs.nixpkgs.follows = "nixpkgs";
  };
};

NixOS

# configuration.nix
{
  imports = [ inputs.nvim.nixosModules.nvim ];

  # See <https://nix-community.github.io/nixvim/NeovimOptions/index.html>
  # for availabe options.
  programs.nixvim.enable = true;
}

HomeManager

# home.nix
{
  imports = [ inputs.nvim.homeManagerModules.nvim ];

  # See <https://nix-community.github.io/nixvim/NeovimOptions/index.html>
  # for availabe options.
  programs.nixvim.enable = true;
}

Package

{
  environment.systemPackages = [ inputs.nvim.packages.x86_64-linux.nixvim ];
}
{
  environment.systemPackages = [
    (inputs.nvim.packages.x86_64-linux.nixvimWithOptions {
      inherit pkgs;
      # See <https://nix-community.github.io/nixvim/NeovimOptions/index.html>
      # for availabe options.
      options.enableMan = false;
    })
  ];
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published