Nvim configuration
nix
  • Nix 98%
  • Vim Snippet 1.6%
  • Just 0.4%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Simon Gate bfd67a4cc3
All checks were successful
nix-ci / build- (push) Successful in 42s
lsp: add zig
2026-11-06 09:12:12 +01:00
.forgejo/workflows ci: add ci 2026-07-31 23:26:40 +02:00
config lsp: add zig 2026-11-06 09:12:12 +01:00
.envrc Add more! 2024-11-17 22:02:08 +01:00
.gitignore Add git ignore 2024-12-05 15:52:53 +01:00
flake.lock update dependencies 2026-10-21 13:49:50 +02:00
flake.nix nixvim follows nixpkgs 2026-10-14 12:06:23 +02:00
justfile just: add diff job 2026-07-31 23:40:32 +02:00
README.md update doc 2025-04-27 21:31:26 +02:00

Nixvim template

This template gives you a good starting point for configuring nixvim standalone.

Configuring

To start configuring, just add or modify the nix files in ./config. If you add a new configuration file, remember to add it to the config/default.nix file

Testing your new configuration

To test your configuration simply run the following command

nix run .

Installation

Option 1: Using nix run

nix run --extra-experimental-features 'nix-command flakes' git+https://0xee.cc/smgt/nix-nvim

Option 2: Adding as a Flake Input:

In your system's Nix configuration (e.g., ~/.config/nixpkgs/flake.nix or ~/.config/nixpkgs/home.nix), add the following:

inputs = {
  nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";  # Or your preferred channel
  smgtvim.url = "git+https://0xee.cc/smgt/nix-nvim";
};

outputs = { self, nixpkgs, smgtvim }: {
  # ... your other configuration ...

  # Add to your system packages or devShell if you want to make it available system-wide
  packages = with nixpkgs; [
    smgtvim.packages.${system}.default
  ];

  # Or, use in a devShell:
  devShells.default = nixpkgs.mkShell {
    nativeBuildInputs = [ smgtvim.packages.${system}.default ];
  };
};
# HTTPS
nix profile install git+https://0xee.cc/smgt/nix-nvim
# SSH
nix profile install git+ssh://git@0xee.cc/smgt/nix-nvim.git\?ref=main