Skip to content

Commit

Permalink
hm: expose final package
Browse files Browse the repository at this point in the history
  • Loading branch information
gvolpe committed Oct 15, 2024
1 parent e8a7d88 commit 2b374d1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/hm.nix
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,17 @@ with lib; {
'';
description = "Attribute set of neovim-ide preferences.";
};

finalPackage = mkOption {
type = types.package;
visible = false;
readOnly = true;
description = "The NeoVim package including as configured by the HM module";
};
};

config = mkIf cfg.enable {
home.packages = [ set.neovim ];
programs.neovim-ide.finalPackage = set.neovim;
};
}

0 comments on commit 2b374d1

Please sign in to comment.