-
Hi, I set up a standalone Nixvim flake as described in the docs. Now I would like to include this flake into my flake based HM configuration. I added my Nixvim flake to the inputs of my HM flake but don't understand how to include the neovim package. Has anyone done this or an idea how to solve that? Here are the flakes, in case that helps: |
Beta Was this translation helpful? Give feedback.
Answered by
siph
Mar 10, 2024
Replies: 1 comment 2 replies
-
You just need to put the derivation into { inputs, system, ... }:
{
# NixOS
environment.systemPackages = [ inputs.nixvim-config.packages.${system}.default ];
# home-manager
home.packages = [ inputs.nixvim-config.packages.${system}.default ];
} More here: https://gist.github.com/siph/288b7c6b5f68a1902d28aebc95fde4c5 |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
jdsee
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You just need to put the derivation into
home.packages
:More here: https://gist.github.com/siph/288b7c6b5f68a1902d28aebc95fde4c5