linuxware/modules/home-manager/programs/neovim
2024-12-19 00:21:50 -03:00
..
docs feat!: move everything around to accomodate two system configurations in one repo 2024-09-16 18:45:39 -03:00
lua feat(neovim): csharp debugging + better definition jumping 2024-12-08 19:52:24 -03:00
default.nix fix(neovim): add netcoredbg to scope instead of absolute path 2024-12-19 00:21:50 -03:00
init.lua feat!: move everything around to accomodate two system configurations in one repo 2024-09-16 18:45:39 -03:00
lsp.nix feat(neovim): add denols conditionally 2024-12-01 17:41:50 -03:00
polish.nix fix(neovim): add netcoredbg to scope instead of absolute path 2024-12-19 00:21:50 -03:00
README.md docs(neovim): point to the new repository and new module name 2024-09-19 21:21:20 -03:00

My Home Manager module for neovim configuration

This is my personal configuration for neovim using Nix, so this will not work outside of it - though it can be made to be.

In this case, I am outputting a Home Manager module to be used directly in your configuration, it currently barely has any options and is opinionated due to it being my personal configuration for daily use... But I plan to slowly add options to make it usable by other people.

Installing

First you add this repository as a flake input:

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

    wizardlink.url = "git+https://git.thewizard.link/wizardlink/linuxware";
  };

  outputs = { home-manager, ... }@inputs: {
    homeConfigurations.YOURHOSTNAME = home-manager.lib.homeManagerConfiguration {
      # ...
      extraSPecialArgs = inputs;
    };
  };
}

Then in your Home Manager configuration you can just import it:

{ wizardlink }:

{
  imports = [
    wizardlink.homeManagerModules.neovim
  ];
}

Configuring

nixd

programs.neovim.flake = {
  hostname = "nixos"; # Your hostname used to build your system.
  location = "git+file:///home/wizardlink/.system"; # Where you store your flake.
};

My neovim failed because of package X not existing

My configuration is based off of nixos-unstable so sometimes your package may not exist or have a different name, I apologise for that but I don't plan on maintaining backwards compatibility. :(

How it looks

Here's some screenshots of how it currently looks like:

image image image

The theme I'm using is catppuccin in case you're curious.