Skip to content

Latest commit

 

History

History
62 lines (51 loc) · 1.39 KB

README.md

File metadata and controls

62 lines (51 loc) · 1.39 KB

Pyxels Neovim

Neovim config using Nixvim. Compared to my previous lua config this is a lot more simple with some seldom used features and overcomplicated configs missing (and it has grown to be a bit different over time).

Note

This is my personal config tailored to my specific needs, but can be used as reference or as inspiration for your own config.

Try it out

To try out this config just run:

nix run github:pyxels/nixvim-config

Usage

Add this repo to you your inputs:

inputs = {
  nixvim-config.url = "github:pyxels/nixvim-config";
};

Standalone

You can access the nvim + config package itself and add them to your packages.

# home-manager
home.packages = [
    inputs.nixvim-config.packages.${system}.default
];
# nixos
environment.systemPackages = [
    inputs.nixvim-config.packages.${system}.default
];

Home-Manager/NixOS module

This flake also exposes a simple Home-Manager and NixOS module to enable the config and set shell aliases.

Enable the the desired module by importing it:

imports = [
  inputs.nixvim-config.homeModules.default
];
imports = [
  inputs.nixvim-config.nixosModules.default
];

Enable the config and optionally set aliases:

nixvim-config = {
  enable = true;
  aliases = ["v" "vim"]; # optional
};