This repository contains my Neovim configuration, which is declaratively written in Nix.
Configuring/editting
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 .To test the config without first cloning the repo simply run the following command
nix run github:Ahwxorg/nixvim-configAdd to flake:
I have the following in flake.nix
{
....
inputs = {
nixvim.url = "github:ahwxorg/nixvim-config";
}
....
};And then I have a packages.nix file that contains:
{ inputs, pkgs, ... }:
{
home.packages = with pkgs; [
...
inputs.nixvim.packages.${pkgs.system}.default
];
}Or you can always take a look yourself
Huge amount of credits to elythh! I've taken shamelessly stolen quite a lot of their configuration.