nix-community / kickstart-nix.nvim

❄️ A dead simple Nix flake template repository for Neovim derivations [maintainer=@mrcjkb]
GNU General Public License v2.0
231 stars 10 forks source link

Usage with home-manager #45

Closed Simon-Kenn closed 1 month ago

Simon-Kenn commented 1 month ago

Hi,

I leave nixvim for this configuration sample. I love lua for nvim configuration, i did rewrite my entire configuration and during this time i just run nix run #nvim in my neovim folder.

But now that i am satisfacte i try to use it as a flake inputs, but i unfortuntly get problem…

After setting the overlays to my flake

I try to use it as a nix-os level:

environment.systemPackages = with pkgs; [
  nvim-pkg
];
programs.neovim.enable = true;

and ultimatly i would like to use it with home-manager, not sure if it's possible

home.programs.neovim = {
  enable = true;
  package = pkgs.nvim-pkg
};

Special note: i use `neovim.url = "git+file:///home/path-to-my-folder-config"; as input, didin't push my repo right now, maybe it cause problem ?

Thanks for this really good sample btw