Skip to content

How to include standalone Nixvim flake to Home-Manager flake? #1240

Closed Answered by siph
jdsee asked this question in Q&A
Discussion options

You must be logged in to vote

You just need to put the derivation into home.packages:

{ 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

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@jdsee
Comment options

@traxys
Comment options

Answer selected by jdsee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants