Skip to content

How to add a nixvim flake like a module in my nixos config #560

Closed Answered by GaetanLepage
basilgood asked this question in Q&A
Discussion options

You must be logged in to vote

Ok, so if I understand correctly, you have a standalone flake for your nixvim configuration.
Running nix run in this repo runs your customized neovim.

Now what you want to do is to use this resulting package in your configuration (home-manager or NixOS) right ?
If the system configuration also lives as a flake output, then, add your nixvim flake as input.
Then, add inputs.nixvim.packages."${system}".nvim to your systemPackages or home.packages list.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by basilgood
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants