linuxware/modules/home-manager/programs/neovim
2024-10-21 14:59:25 -03:00
..
colors feat(neovim): move from catppuccin-frappe to a base16 catppuccin theme 2024-10-21 14:57:32 -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): drop prettierd in favor of deno fmt 2024-10-21 14:59:17 -03:00
default.nix fix(neovim): missing packages 2024-10-21 14:59:25 -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 csharp support 2024-09-30 19:28:55 -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.